This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF Connect SDK - Full Zephyr logs

Hello,

I am attempting to configure a project with full zephyr logs (using RTT backend). I am, however, unable to get the full logs (see example below):

[00013022] <dbg> sample_app: Debug message'
[00013023] <inf> sample_app: Info message'
[00013023] <wrn> sample_app: Warning message'
[00013023] <err> sample_app: Error message'

Instead, I get the minimal logging:
D: Debug message
I: Info message
W: Warning message
E: Error message

A few configurations in my prj.conf-file have the warning "Missing dependencies: !LOG_MINIMAL", although I have defined CONFIG_LOG_MODE_MINIMAL=n.
Nothing seems to get rid of it.

Do you have some samples in the nrf connect SDK or zephyr sdk configured with the full zephyr logging?

My logging-related configurations are as following:

# General config
CONFIG_LOG=y
CONFIG_LOG_MODE_MINIMAL=n

CONFIG_LOG_DEFAULT_LEVEL=4
CONFIG_LOG_BUFFER_SIZE=2048
CONFIG_LOG_FUNC_NAME_PREFIX_ERR=y
CONFIG_LOG_BACKEND_SHOW_COLOR=y
CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP=y
CONFIG_LOG_FRONTEND=n

# choose RTT console
CONFIG_UART_CONSOLE=n
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_LOG_BACKEND_RTT=y



Related