From 2a5488f723baab90c3c4645ee28363eef0ba5bff Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 22 Aug 2019 10:20:13 +1000 Subject: [PATCH] Add missing debug level to log statement --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index 2fdd6a52..11ef619a 100644 --- a/torrent.go +++ b/torrent.go @@ -1065,7 +1065,7 @@ func (t *Torrent) updatePieceCompletion(piece pieceIndex) bool { p.storageCompletionOk = uncached.Ok t.completedPieces.Set(bitmap.BitIndex(piece), uncached.Complete) if changed { - t.logger.Log(log.Fstr("piece %d completion changed: %+v -> %+v", piece, cached, uncached)) + log.Fstr("piece %d completion changed: %+v -> %+v", piece, cached, uncached).WithValues(debugLogValue).Log(t.logger) t.pieceCompletionChanged(piece) } return changed