From f018af7c7337426c25fbdacc4142f58bd511a4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Medeiros?= Date: Wed, 25 May 2022 16:05:49 -0400 Subject: [PATCH] Log post score --- internal/worker/trending.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/worker/trending.go b/internal/worker/trending.go index 8253d79..ff064f0 100644 --- a/internal/worker/trending.go +++ b/internal/worker/trending.go @@ -303,6 +303,7 @@ func (tc *trendingConsumer) Consume(delivery rmq.Delivery) { zap.Int64("subreddit#id", id), zap.String("subreddit#name", subreddit.NormalizedName()), zap.String("post#id", post.ID), + zap.Int64("post#score", post.Score), zap.String("device#token", watcher.Device.APNSToken), ) }