chore: log level

This commit is contained in:
mzz2017 2023-02-04 17:20:42 +08:00
parent 5698247c3a
commit 868f8fd0e8
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ func (c *ControlPlane) handleConn(lConn net.Conn) (err error) {
case consts.OutboundDirect:
case consts.OutboundControlPlaneDirect:
value.Outbound = uint8(consts.OutboundDirect)
c.log.Debugf("outbound: %v => %v",
c.log.Tracef("outbound: %v => %v",
consts.OutboundControlPlaneDirect.String(),
consts.OutboundIndex(value.Outbound).String(),
)

View File

@ -100,7 +100,7 @@ func (c *ControlPlane) handlePkt(data []byte, lConn *net.UDPConn, lAddrPort neti
case consts.OutboundControlPlaneDirect:
addrHdr.Outbound = uint8(consts.OutboundDirect)
c.log.Debugf("outbound: %v => %v",
c.log.Tracef("outbound: %v => %v",
consts.OutboundControlPlaneDirect.String(),
consts.OutboundIndex(addrHdr.Outbound).String(),
)