mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-30 03:31:44 +08:00
Chore: debug level log
This commit is contained in:
@@ -44,7 +44,7 @@ func handleTCPConn(localConn adapter.TCPConn) {
|
||||
|
||||
log.Infof("[TCP] %s <-> %s", metadata.SourceAddress(), metadata.DestinationAddress())
|
||||
if err = relay(localConn, targetConn); err != nil {
|
||||
log.Warnf("[TCP] %s <-> %s: %v", metadata.SourceAddress(), metadata.DestinationAddress(), err)
|
||||
log.Debugf("[TCP] %s <-> %s: %v", metadata.SourceAddress(), metadata.DestinationAddress(), err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user