connection drop log debug level
This commit is contained in:
parent
f33b3ba5ce
commit
52bb7f7a39
|
@ -47,7 +47,7 @@ func processReader(r io.Reader) error {
|
|||
"AnnounceList": metainfo.AnnounceList,
|
||||
"UrlList": metainfo.UrlList,
|
||||
}
|
||||
if len(metainfo.Nodes) > 0 {
|
||||
if len(metainfo.Nodes) > 0 {
|
||||
d["Nodes"] = metainfo.Nodes
|
||||
}
|
||||
if flags.Files {
|
||||
|
|
|
@ -842,7 +842,7 @@ func (t *Torrent) maybeDropMutuallyCompletePeer(
|
|||
if p.useful() {
|
||||
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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue