trying to set the LOG_LEVEL in the prj.conf, building, cleaning,rebuilding... takes no effect.
what am I missing?
trying to set the LOG_LEVEL in the prj.conf, building, cleaning,rebuilding... takes no effect.
what am I missing?
Hi,
what are you trying to enable? Enabling logs in a module or change logger configuration?
You need to use CONFIG_....=y to set kconfig option. For enabling certain log level in a module usually you need to set something like:
CONFIG_<MODULE>_LOG_LEVEL_DBG=y
Thanks!
I have set:
CONFIG_LOG=y
CONFIG_SERIAL=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_LTE_LINK_CONTROL_LOG_LEVEL=4
CONFIG_NET_CONFIG_LOG_LEVEL=4
CONFIG_NET_APP_LOG_LEVEL=4
CONFIG_NET_SOCKETS_LOG_LEVEL=4
CONFIG_NET_MGMT_EVENT_LOG_LEVEL=4
CONFIG_MQTT_SOCKET_LOG_LEVEL=4
but no luck... :((( somehow, I feel to miss a step...
I'm using Segger SES, let me try on command line...
Thank you!
Hi,
I did not use SES for Zephyr development yet. I have always generated everything with a command line.
Thank you Jakub!
MenuConfig -- got it, really cool :)
I have similar issue. Is it resolved? How?
To enable debug logs for the module you need to change entry in prj.conf from:
CONFIG_<MODULE_NAME>_LOG_LEVEL=4
to:
CONFIG_<MODULE_NAME>_LOG_LEVEL_DBG=y
To enable debug logs for the module you need to change entry in prj.conf from:
CONFIG_<MODULE_NAME>_LOG_LEVEL=4
to:
CONFIG_<MODULE_NAME>_LOG_LEVEL_DBG=y