update a log level

This commit is contained in:
Jason
2019-08-12 20:58:49 +08:00
parent 46a0b4ed24
commit c7ae3e247a

View File

@@ -48,7 +48,7 @@ func (h *udpHandler) handleTCP(conn core.UDPConn, c net.Conn) {
_, err := c.Read(make([]byte, 1))
if err != nil {
if err == io.EOF {
log.Warnf("UDP associate to %v closed by remote", c.RemoteAddr())
log.Debugf("UDP associate to %v closed by remote", c.RemoteAddr())
}
h.Close(conn)
return