On line 904 of nrf_log_frontend.c there is a log message to indicate the backends are flushed – but this message adds a log to the queue. If auto flush is enabled, this can lead to an infinite loop. Present in SDK 17.0.0
On line 904 of nrf_log_frontend.c there is a log message to indicate the backends are flushed – but this message adds a log to the queue. If auto flush is enabled, this can lead to an infinite loop. Present in SDK 17.0.0
Hi,
Thank you for reporting this issue. It is highly appreciated! I have made an entry in our internal issue tracker, for the SDK team to look into.
Regards,
Terje
Has this issue been addressed in SDK 17.0.2? I believe we are seeing a similar problem in our device using the RTT transport. We are also using SDK 17.0.2.
Hi,
This issue is present in SDK 17.0.2.
The offending line is line 904 in <sdk root>/components/libraries/log/src/nrf_log_frontend.c:
NRF_LOG_WARNING("Backends flushed");
If what you see is this issue, then commenting out or removing that line should fix it.
Regards,
Terje
It could also be this other issue I recently discovered: devzone.nordicsemi.com/.../bug-in-nrf_log_frontend-c
Hi,
I use SDK 17.0.2.
I try to use flash backend crash log function, I found "Backends flushed" kept showing even there was no crash. Is this a related issue?