From c75d1a66c558411020cff09bbfe6ff85920e7013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 16 Dec 2022 11:04:14 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp.go | 1 - business/jxstore/event/event_tcp_utils.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 1d60dc16b..b6a7bcbcb 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -158,7 +158,6 @@ func (t *TcpClient) HandleTcpMessages(printNo string) { if !t.isExistMsg(printNo) { return } - globals.SugarLogger.Debugf("HandleTcpMessages printNo: %s", printNo) go func() { for { select { diff --git a/business/jxstore/event/event_tcp_utils.go b/business/jxstore/event/event_tcp_utils.go index 193171573..f4da0037a 100644 --- a/business/jxstore/event/event_tcp_utils.go +++ b/business/jxstore/event/event_tcp_utils.go @@ -153,7 +153,6 @@ func (t *TcpClient) delConn(key string) { func (t *TcpClient) addConn(c net.Conn, key string, status int) { t.Lock() defer t.Unlock() - globals.SugarLogger.Debugf("addConn key: %s", key) t.Clients[key] = &PrintInfo{ C: c, Status: status, @@ -203,7 +202,6 @@ func (t *TcpClient) getPrintStatus(key string) int { func (t *TcpClient) getPrintConn(key string) net.Conn { t.RLock() defer t.RUnlock() - globals.SugarLogger.Debugf("=====c :;= %s", utils.Format4Output(t.Clients, false)) if t.Clients[key] != nil { return t.Clients[key].C } else {