From 868f8fd0e88ab5317ca2d264e87c3d9eb19ad86b Mon Sep 17 00:00:00 2001 From: mzz2017 <2017@duck.com> Date: Sat, 4 Feb 2023 17:20:42 +0800 Subject: [PATCH] chore: log level --- component/control/tcp.go | 2 +- component/control/udp.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/component/control/tcp.go b/component/control/tcp.go index 5e63c02..00c930b 100644 --- a/component/control/tcp.go +++ b/component/control/tcp.go @@ -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(), ) diff --git a/component/control/udp.go b/component/control/udp.go index e896093..a92cd91 100644 --- a/component/control/udp.go +++ b/component/control/udp.go @@ -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(), )