From 5b9393e78c7dbc0d6c22bc348a11d086f0e88a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 7 Feb 2023 16:27:01 +0100 Subject: [PATCH] shaman-checkout-id-setter: reduce log levels Reduce the log levels of normal operations so that warnings do not scroll off screen. --- cmd/shaman-checkout-id-setter/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/shaman-checkout-id-setter/main.go b/cmd/shaman-checkout-id-setter/main.go index 18624347..b12e3d6c 100644 --- a/cmd/shaman-checkout-id-setter/main.go +++ b/cmd/shaman-checkout-id-setter/main.go @@ -87,7 +87,7 @@ func main() { continue } - logger.Debug().Msg("processing job") + logger.Trace().Msg("processing job") // Find the 'blendfile' setting. blendfile, ok := job.Settings["blendfile"].(string) @@ -120,7 +120,7 @@ func main() { logger = logger.With().Str("checkoutID", checkoutID).Logger() // Store it on the job. - logger.Info().Msg("updating job") + logger.Debug().Msg("updating job") job.Storage.ShamanCheckoutID = checkoutID if err := persist.SaveJobStorageInfo(ctx, job); err != nil { logger.Error().Err(err).Msg("error saving job to the database")