good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 63b31c2e authored by Alex Sharov's avatar Alex Sharov Committed by GitHub
Browse files

supress some logs (#3380)

parent 1f77e220
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,9 @@ func (b adapterLogger) Log(msg lg.Msg) {
log.Debug(msg.String())
case lg.Info:
str := msg.String()
if strings.Contains(str, "EOF") { // suppress useless errors
if strings.Contains(str, "EOF") ||
strings.Contains(str, "spurious timer") ||
strings.Contains(str, "banning ip <nil>") { // suppress useless errors
break
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment