This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Hang in logger frontend

I'm hitting a couple of different logging issues with the latest SDK15. In the most recent case it appears std_n is hanging while calling nrf_log_frontend_dequeue.

Attached a picture of the call stack and the current values of m_log_data.  Any suggestions on what I may be doing wrong or if this is a known issue?  I noticed m_log_data.rd_idx is quite large. Is that an expected value?

Parents Reply
  • I assume all the modules have log messages that are within the limitations of deferred mode (4 arguments max, etc). If that's true, for my app I was thinking for each interrupt level I can have a separate buffer, do string printf to the buffer, and log the string. I'm assuming the logger copies that entire string in so I can log multiple strings back to back in the same interrupt handler, and I work around the limitations of deferred logging. Would that be the correct assumption?

Children
Related