From 28de9962b406f25daf0753d2cf8e78ecbb0bdb68 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Fri, 18 Aug 2023 13:52:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=87=8F=E5=B0=91=E4=B8=80=E5=8D=8A?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index eb69b7a..431e813 100644 --- a/main.go +++ b/main.go @@ -46,7 +46,7 @@ func check() { case <-tick.C: l, err := redisCli.GetRedis().LLen(context.Background(), micInfoChange).Result() if err != nil { - mylogrus.MyLog.Infof("cron micChangeSys msg error,left %v-%v", l, err) + mylogrus.MyLog.Errorf("cron micChangeSys msg error,left %v-%v", l, err) } if l > MONITOR_LENGTH { go func() { @@ -73,7 +73,7 @@ func deal() { } if len(strs) >= 2 { content := strs[1] - mylogrus.MyLog.Infof("cron micChangeSys content:%v", content) + //mylogrus.MyLog.Infof("cron micChangeSys content:%v", content) micSystemMsg := MicSystemMsg{} if err := json.Unmarshal([]byte(content), &micSystemMsg); err != nil { mylogrus.MyLog.Errorf("cron micChangeSys Unmarshal err:%+v, content:%v", err, content) -- 2.22.0