Skip to content

Commit

Permalink
Warn is enough,change level from 'Error' to 'Warn'
Browse files Browse the repository at this point in the history
  • Loading branch information
knull-cn committed Dec 29, 2021
1 parent e98b03a commit b6373e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ func (s *Server) onConn(conn *clientConn) {
} else {
metrics.HandShakeErrorCounter.Inc()
logutil.BgLogger().With(zap.Uint64("conn", conn.connectionID)).
Error("Server.onConn handshake", zap.Error(err),
Warn("Server.onConn handshake", zap.Error(err),
zap.String("remote addr", conn.bufReadConn.RemoteAddr().String()))
}
terror.Log(conn.Close())
Expand Down

0 comments on commit b6373e0

Please sign in to comment.