mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 22:35:27 +00:00
Make median score log debug level
This commit is contained in:
parent
e9a2f5b745
commit
c3f7982882
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue