Downgrade conn log messages to debug

git-svn-id: file:///srv/svn/repo/suika/trunk@748 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
contact 2021-12-06 17:40:37 +00:00
parent ab7067fa48
commit 8646b0e5db

View File

@ -166,7 +166,7 @@ func newConn(srv *Server, ic ircConn, options *connOptions) *conn {
if err := c.conn.Close(); err != nil && !isErrClosed(err) {
c.logger.Printf("failed to close connection: %v", err)
} else {
c.logger.Printf("connection closed")
c.logger.Debugf("connection closed")
}
// Drain the outgoing channel to prevent SendMessage from blocking
for range outgoing {
@ -174,7 +174,7 @@ func newConn(srv *Server, ic ircConn, options *connOptions) *conn {
}
}()
c.logger.Printf("new connection")
c.logger.Debugf("new connection")
return c
}