From fc678751f55b93947435cf4b6a58dccc7266edb0 Mon Sep 17 00:00:00 2001 From: Mark Holt Date: Sun, 26 May 2024 19:19:25 +0100 Subject: [PATCH] more set info debug --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index 37e9b9419e..081ea1c5f4 100644 --- a/torrent.go +++ b/torrent.go @@ -493,7 +493,7 @@ func (t *Torrent) onSetInfo() { t.queuePieceCheck(i) } } - t.logger.Levelf(log.Debug, "set info: rolen=%d", t.getPieceRequestOrder().Len()) + t.logger.Levelf(log.Debug, "%s: set info: peices=%d rolen=%d", t.Name(), len(t.pieces), t.getPieceRequestOrder().Len()) t.cl.event.Broadcast() close(t.gotMetainfoC) t.updateWantPeersEvent()