Skip to content

Commit 0cd9c0a

Browse files
committed
* FIX [mqtt/proto] Update the level of logs.
Signed-off-by: wanghaemq <[email protected]>
1 parent b98ffb7 commit 0cd9c0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mqtt/protocol/mqtt/mqtt_client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ mqtt_timer_cb(void *arg)
648648
if (aio != NULL && (msg = nni_aio_get_msg(aio)) != NULL) {
649649
nni_msg_clone(msg);
650650
s->lastpid = pid;
651-
log_info("NO.%d Batch sending id%d msg%p", s->batchcnt-1, pid, msg);
651+
log_debug("NO.%d Batch sending id%d msg%p", s->batchcnt-1, pid, msg);
652652
ptype = nni_mqtt_msg_get_packet_type(msg);
653653
if (ptype == NNG_MQTT_PUBLISH)
654654
nni_mqtt_msg_set_publish_dup(msg, true);
@@ -701,7 +701,7 @@ mqtt_timer_cb(void *arg)
701701
nni_msg_clone(msg);
702702
s->lastpid = pid;
703703
s->batchcnt ++;
704-
log_info("Batch sending started id%d msg%p", pid, msg);
704+
log_debug("Batch sending started id%d msg%p", pid, msg);
705705
ptype = nni_mqtt_msg_get_packet_type(msg);
706706
if (ptype == NNG_MQTT_PUBLISH)
707707
nni_mqtt_msg_set_publish_dup(msg, true);

0 commit comments

Comments
 (0)