torrent: suspend more useless logs #4116

This commit is contained in:
Alex Sharov 2022-05-11 09:40:20 +07:00 committed by GitHub
parent 4d98ce697b
commit 0fd12743e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,9 @@ func (b adapterHandler) Handle(r lg.Record) {
if strings.Contains(str, "banned ip") { // suppress useless errors if strings.Contains(str, "banned ip") { // suppress useless errors
break break
} }
if strings.Contains(str, "being sole dirtier of piece") { // suppress useless errors
break
}
log.Warn(str) log.Warn(str)
case lg.Error: case lg.Error: