From d615ab0dc3316230f5ebdfa2df33f7dc58f4e48f Mon Sep 17 00:00:00 2001 From: Michael Scott Date: Mon, 18 Feb 2019 21:54:12 -0800 Subject: [PATCH] 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 --- subsys/net/lib/lwm2m/lwm2m_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/net/lib/lwm2m/lwm2m_engine.c b/subsys/net/lib/lwm2m/lwm2m_engine.c index 7ca5b0fc496..4b5d52cfc3b 100644 --- a/subsys/net/lib/lwm2m/lwm2m_engine.c +++ b/subsys/net/lib/lwm2m/lwm2m_engine.c @@ -3585,7 +3585,7 @@ static void retransmit_request(struct k_work *work) return; } - LOG_DBG("Resending message: %p", msg); + LOG_INF("Resending message: %p", msg); msg->send_attempts++; if (send(msg->ctx->sock_fd, msg->cpkt.data, msg->cpkt.offset, 0) < 0) { LOG_ERR("Error sending lwm2m message: %d", -errno);