Worker: reduce log level of some internal components
Reduce the log level from 'info' to 'debug' on some internal components of Flamenco Worker. This makes the console output slightly less noisy, and it's unlikely that these particular messages are commonly needed.
This commit is contained in:
parent
30c92d2854
commit
94fba20ef6
@ -52,8 +52,8 @@ func (ou *OutputUploader) OutputProduced(taskID, filename string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (ou *OutputUploader) Run(ctx context.Context) {
|
func (ou *OutputUploader) Run(ctx context.Context) {
|
||||||
log.Info().Msg("output uploader: running")
|
log.Debug().Msg("output uploader: running")
|
||||||
defer log.Info().Msg("output uploader: shutting down")
|
defer log.Debug().Msg("output uploader: shutting down")
|
||||||
|
|
||||||
wg := sync.WaitGroup{}
|
wg := sync.WaitGroup{}
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
|
@ -133,7 +133,7 @@ func (ub *UpstreamBufferDB) Close() error {
|
|||||||
ub.wg.Wait()
|
ub.wg.Wait()
|
||||||
|
|
||||||
// Attempt one final flush, if it's fast enough:
|
// Attempt one final flush, if it's fast enough:
|
||||||
log.Info().Msg("upstream buffer shutting down, doing one final flush")
|
log.Debug().Msg("upstream buffer shutting down, doing one final flush")
|
||||||
flushCtx, ctxCancel := context.WithTimeout(context.Background(), flushOnShutdownTimeout)
|
flushCtx, ctxCancel := context.WithTimeout(context.Background(), flushOnShutdownTimeout)
|
||||||
defer ctxCancel()
|
defer ctxCancel()
|
||||||
if err := ub.Flush(flushCtx); err != nil {
|
if err := ub.Flush(flushCtx); err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user