From 6592c669d6021908aa4861790c9bd281b386767d Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 27 Jun 2020 18:05:12 +0200 Subject: [PATCH] update log --- mq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mq.go b/mq.go index dac4887..c4d8bda 100644 --- a/mq.go +++ b/mq.go @@ -82,7 +82,7 @@ func MQReceiveMsgWorker(id int, cmd chan<- TGCommand) { failOnError(err, "MQReceiveMsgWorker["+strconv.Itoa(id)+"] : Failed to declare a consumer") for d := range m { - log.Printf("MQReceiveMsgWorker["+strconv.Itoa(id)+"] : Received a message:\n %s", string(d.Body)) + //log.Printf("MQReceiveMsgWorker["+strconv.Itoa(id)+"] : Received a message:\n %s", string(d.Body)) err = json.Unmarshal(d.Body, &c) logOnError(err, "MQReceiveMsgWorker["+strconv.Itoa(id)+"] : Can't unmarshal.\n"+string(d.Body)) if err == nil {