Add missing debug level to log statement

This commit is contained in:
Matt Joiner 2019-08-22 10:20:13 +10:00
parent 4850ce6ab3
commit 2a5488f723
1 changed files with 1 additions and 1 deletions

View File

@ -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