From 3fb979009b56e8a36006eec52f1132811391af82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 19 Dec 2023 17:31:07 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index dad7c1827..f56af683e 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -482,7 +482,7 @@ func HandleCheckTcpHeart(t *TcpClient, key string) { if !utils.IsTimeZero(statusTime) { //1分钟内没心跳判断打印机掉线了 if time.Now().Sub(statusTime) > time.Second*60 { - globals.SugarLogger.Debugf("超过一分十秒没有心跳的打印机[%s]", key) + globals.SugarLogger.Debugf("超过一分十秒没有心跳的打印机[%s],当前心跳时间: %s ,上一次心跳时间 : %s", key, utils.Time2TimeStr(time.Now()), utils.Time2TimeStr(statusTime)) changePrinterStatus(key, printerStatusOffline) delete(t.TimeoutMap, key) }