From c3f79828824cc56e7d46e7c4dd9d21c26b8e10c2 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 26 May 2022 18:58:53 -0400 Subject: [PATCH] Make median score log debug level --- internal/worker/trending.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/worker/trending.go b/internal/worker/trending.go index a1109a5..3fb0878 100644 --- a/internal/worker/trending.go +++ b/internal/worker/trending.go @@ -212,7 +212,7 @@ func (tc *trendingConsumer) Consume(delivery rmq.Delivery) { middlePost := tps.Count / 2 medianScore := tps.Children[middlePost].Score - tc.logger.Info("calculated median score", + tc.logger.Debug("calculated median score", zap.Int64("subreddit#id", id), zap.String("subreddit#name", subreddit.NormalizedName()), zap.Int64("score", medianScore),