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, "/")