I've taken the basic examples/peripheral/blinky code and tried to add the logging module to it. For some reason the only time I can get the application to run and log correctly is when I use "in-place" logging. When trying to use 'deferred' logging, the first log line will be printed out and then the application seems to hang/stop running.
I've ensured to enable NRF_LOG_DEFERRED in the sdk_config.h. I'm also calling NRF_LOG_PROCESS() (also tried NRF_LOG_FLUSH()) after logging but still no luck.
I've attached my main.c and sdk_config.h. When "deferred" logging is enabled, only the first line is printed "Starting application". After that the application hangs (no more prints, no more LED toggling).
/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-eaf67782a6e8423a872977aba769132b/sdk_5F00_config.h/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-eaf67782a6e8423a872977aba769132b/main.c
Any idea why this could be happening? I've tried defining DEBUG to get more information but am not seeing anything (no crashes, errors, etc.) only the application hanging.