Chore: core loglevel to debug

This commit is contained in:
xjasonlyu
2023-03-29 23:19:08 +08:00
parent 2c51a65685
commit 3b343600e7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ func withTCPHandler(handle func(adapter.TCPConn)) option.Option {
defer func() {
if err != nil {
glog.Warningf("forward tcp request: %s:%d->%s:%d: %s",
glog.Debugf("forward tcp request: %s:%d->%s:%d: %s",
id.RemoteAddress, id.RemotePort, id.LocalAddress, id.LocalPort, err)
}
}()
+1 -1
View File
@@ -20,7 +20,7 @@ func withUDPHandler(handle func(adapter.UDPConn)) option.Option {
)
ep, err := r.CreateEndpoint(&wq)
if err != nil {
glog.Warningf("forward udp request: %s:%d->%s:%d: %s",
glog.Debugf("forward udp request: %s:%d->%s:%d: %s",
id.RemoteAddress, id.RemotePort, id.LocalAddress, id.LocalPort, err)
return
}