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

NRF_LOG stuck with DEBUG color in JLinkRTTClient

Hello,

I am debugging my nRF52832 with JLinkRTTClient through NRF_LOG, but there seems to be some issues I don't quite understand with the color coding of the logging messages.

I can successfully change the NRF_LOG_DEBUG_COLOR to any color I wish, the problem is that whatever color I set for INFO (haven't tried for warning and error honestly), it just has the same color as the debug messages.

For example if I do

#define NRF_DEBUG_COLOR NRF_LOG_COLOR_WHITE

#define NRF_INFO_COLOR NRF_LOG_COLOR_GREEN

Then even info messages will show up as white.
And if I change the DEBUG_COLOR to something else, then everything will be that color instead.

Like this:

Did somebody else experience this issue? Any clues on what could be wrong?

Related