diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 0cc87cd71..d48729e40 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -81,7 +81,8 @@ func (t *TcpClient) handleConn(c net.Conn) { //4、读打印channel并打印,并切等待回调channel中的消息 //5、修改数据库中打印机状态(没在连接池中说明是重新连接的) //6、监听心跳时间,超过1分多钟就clear掉 - globals.SugarLogger.Debugf("handleConn timeout channel...: %v", t.TimeoutMap[printNo]) + globals.SugarLogger.Debugf("handleConn timeout channel...: %s", utils.Format4Output(t.TimeoutMap[printNo], false)) + globals.SugarLogger.Debugf("handleConn timeout channel...: %s", utils.Format4Output(t, false)) if t.getClients(printNo) == nil { t.addConn(c, printNo, status) t.buildAllMap(printNo)