From cdcc7ddc28392c3b902ebfe88f1fef710b65502f Mon Sep 17 00:00:00 2001 From: lucas Date: Fri, 15 Nov 2024 14:18:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BF=9D=E6=8A=A4=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E6=88=AA=E5=8F=96=E8=BE=B9=E7=95=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consumers/consumerWJHP.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consumers/consumerWJHP.go b/consumers/consumerWJHP.go index 9e3f778..046dc30 100644 --- a/consumers/consumerWJHP.go +++ b/consumers/consumerWJHP.go @@ -78,7 +78,7 @@ func (the *consumerWJHP) Work() { } func (the *consumerWJHP) onData(Topic string, Msg string) { if len(Msg) > 80 { - log.Printf("mqtt-recv:[%s]:%s ...", Topic, Msg[:100]) + log.Printf("mqtt-recv:[%s]:%s ...", Topic, Msg[:80]) } var needPush []byte topicPrefixIndex := strings.LastIndex(Topic, "/")