]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Log handshook conn run errors with level warning
authorMatt Joiner <anacrolix@gmail.com>
Tue, 19 Oct 2021 02:37:46 +0000 (13:37 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 19 Oct 2021 03:07:48 +0000 (14:07 +1100)
(cherry picked from commit 7ca7890e9f30307a1f4942e6d987791a142c3cb3)

torrent.go

index 0f8ab9b556d748fabefb15d53a91827c75c24ced..32b1d720d3a1ab266619c1d5bb83ac7894f83911 100644 (file)
@@ -1524,7 +1524,7 @@ func (t *Torrent) logRunHandshookConn(pc *PeerConn, logAll bool, level log.Level
 }
 
 func (t *Torrent) runHandshookConnLoggingErr(pc *PeerConn) {
-       t.logRunHandshookConn(pc, false, log.Debug)
+       t.logRunHandshookConn(pc, false, log.Warning)
 }
 
 func (t *Torrent) startWebsocketAnnouncer(u url.URL) torrentTrackerAnnouncer {