Not all debug messages coming through

I am using Zephyr with a nRF5340 DK with the nRF Connect for VSCode  Add-In. I am not getting the debug messages I am sending to it unless there is some sort of error and I get the last one.

#include <zephyr/logging/log.h>

LOG_MODULE_REGISTER(mymodule, LOG_LEVEL_DBG);
I put a function at the top of one of my calls:
LOG_DBG("starting...");
printf("testing...\n");
I have these settings in the prj.conf:
CONFIG_LOG=y
CONFIG_DEBUG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=y
The testing... comes through and eventually the starting... comes through after an error and reboot and some other inf lines from littlefs, but I have a bunch of other LOG_DBG messages that don't come through. I need to see what's happening leading up to the problem.
Parents Reply Children
No Data
Related