Hello,
I have enabled NRF_LOG over RTT but I get flooded by the same message until my application crashed.
For example:
// Initialize. log_init(); timers_init();
I get continuously:

what am I doing wrong?
Hello,
I have enabled NRF_LOG over RTT but I get flooded by the same message until my application crashed.
For example:
// Initialize. log_init(); timers_init();
I get continuously:

what am I doing wrong?
Hello,
I don't recall having seen this before. Are you initializing anything before log_init();? I can try to debug this here as well if you are able to share a your project here.
Best regards,
Vidar
Hello,
I don't recall having seen this before. Are you initializing anything before log_init();? I can try to debug this here as well if you are able to share a your project here.
Best regards,
Vidar
ah, you are right! nrf_log is initialised twice!
APP_ERROR_CHECK(NRF_LOG_INIT(NULL)); NRF_LOG_DEFAULT_BACKENDS_INIT(); // Initialize. log_init(); timers_init();
if I comment one of the initialization everything works fine!
Good to know that initializing the logger twice can lead to this issue. Thanks for reporting back. It seems like we should implement a check in the log init function to prevent this.