From 47ef48be2878de762ae84e0f983e54ee71714ec9 Mon Sep 17 00:00:00 2001 From: Matthew McNeely Date: Wed, 17 Aug 2022 16:34:17 -0400 Subject: [PATCH] Change session done stats to 'debug' level When using watch tower for a convenient way to reload freshly built images from the local Docker registry (with --no-pull and a poll interval of one second), the "Session done" log message spams the logs: `level=info msg="Session done" Failed=0 Scanned=3 Updated=0 notify=no`. Since this is really debug-oriented messaging, seems appropriate. --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index daa9437..0c7bfa0 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -371,6 +371,6 @@ func runUpdatesWithNotifications(filter t.Filter) *metrics.Metric { "Scanned": metricResults.Scanned, "Updated": metricResults.Updated, "Failed": metricResults.Failed, - }).Info("Session done") + }).Debug("Session done") return metricResults }