2
0
mirror of synced 2025-02-23 14:18:13 +00:00

connection drop log debug level

This commit is contained in:
ucwong 2021-01-06 17:27:17 +08:00 committed by Matt Joiner
parent f33b3ba5ce
commit 52bb7f7a39
2 changed files with 2 additions and 2 deletions

View File

@ -842,7 +842,7 @@ func (t *Torrent) maybeDropMutuallyCompletePeer(
if p.useful() { if p.useful() {
return return
} }
log.Printf("dropping %v, which is mutually complete", p) t.logger.WithDefaultLevel(log.Debug).Printf("dropping %v, which is mutually complete", p)
p.drop() p.drop()
} }