net: lwm2m: change resend packet to an INF message
To avoid missing important messages, let's change the resend packet message from a DBG to an INF. Signed-off-by: Michael Scott <mike@foundries.io>
This commit is contained in:
parent
144ff91670
commit
d615ab0dc3
1 changed files with 1 additions and 1 deletions
|
@ -3585,7 +3585,7 @@ static void retransmit_request(struct k_work *work)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_DBG("Resending message: %p", msg);
|
LOG_INF("Resending message: %p", msg);
|
||||||
msg->send_attempts++;
|
msg->send_attempts++;
|
||||||
if (send(msg->ctx->sock_fd, msg->cpkt.data, msg->cpkt.offset, 0) < 0) {
|
if (send(msg->ctx->sock_fd, msg->cpkt.data, msg->cpkt.offset, 0) < 0) {
|
||||||
LOG_ERR("Error sending lwm2m message: %d", -errno);
|
LOG_ERR("Error sending lwm2m message: %d", -errno);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue