Skip to content

Commit

Permalink
* FIX [mqtt/proto] Update the level of logs.
Browse files Browse the repository at this point in the history
Signed-off-by: wanghaemq <[email protected]>
  • Loading branch information
wanghaEMQ committed Jul 4, 2024
1 parent 89628bd commit 8ad051d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mqtt/protocol/mqtt/mqtt_quic_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ mqtt_timer_cb(void *arg)
if (msg != NULL) {
nni_msg_clone(msg);
s->lastpid = pid;
log_info("NO.%d Batch sending id%d msg%p", s->batchcnt-1, pid, msg);
log_debug("NO.%d Batch sending id%d msg%p", s->batchcnt-1, pid, msg);
ptype = nni_mqtt_msg_get_packet_type(msg);
if (ptype == NNG_MQTT_PUBLISH)
nni_mqtt_msg_set_publish_dup(msg, true);
Expand Down Expand Up @@ -1143,7 +1143,7 @@ mqtt_timer_cb(void *arg)
ptype = nni_mqtt_msg_get_packet_type(msg);
s->lastpid = pid;
s->batchcnt ++;
log_info("Batch sending started id%d msg%p", pid, msg);
log_debug("Batch sending started id%d msg%p", pid, msg);
if (ptype == NNG_MQTT_PUBLISH)
nni_mqtt_msg_set_publish_dup(msg, true);
if (!p->busy) {
Expand Down

0 comments on commit 8ad051d

Please sign in to comment.