From 86c9e4d0a96c603dd84be83f0d01413dea42f6d4 Mon Sep 17 00:00:00 2001 From: Trek H Date: Mon, 15 Feb 2021 10:52:19 +1030 Subject: [PATCH] revid: improve logging --- revid/senders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/senders.go b/revid/senders.go index cdcb4a77..11420d72 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -142,7 +142,7 @@ func extractMeta(r string, log func(lvl int8, msg string, args ...interface{})) if err != nil { log(logger.Warning, "No timestamp in reply") } else { - log(logger.Debug, fmt.Sprintf("got timestamp: %v", t)) + log(logger.Debug, "got timestamp", "ts", t) mts.RealTime.Set(time.Unix(int64(t), 0)) } }