fix: change log level from warn to debug on connection failure to suppress huge logs

This commit is contained in:
SunBK201 2024-10-31 00:20:03 +08:00
parent aae73c46fa
commit 221f1e3fab

View File

@ -100,7 +100,7 @@ func process(client net.Conn) {
logrus.Debug("Connect timeout: ", err) logrus.Debug("Connect timeout: ", err)
return return
} }
logrus.Warn("Connect failed: ", err) logrus.Debug("Connect failed: ", err)
client.Close() client.Close()
return return
} }