golioth-firmware-sdk
golioth-firmware-sdk copied to clipboard
CONFIG_GOLIOTH_LOG_LEVEL_* doesn't affect golioth_coap_client_zephyr log messages
Golioth Firmware SDK Commit Hash
11ed198648beddb1c895dde96e1af59121048e52
Platform/OS
NCS v2.5.2
Hardware Target
Aludel Elixir Rev B
What host OS are you using?
macOS Sonoma 14.4
Current Behavior
Setting CONFIG_GOLIOTH_LOG_LEVEL_*
doesn't affect log messages generated by the golioth_coap_client_zephyr
module (coap_client_zephyr.c
).
For example, if I set CONFIG_GOLIOTH_LOG_LEVEL_ERR=y
in prj.conf
, I still see the following log messages in the console:
[00:07:45.026,641] <wrn> golioth_coap_client_zephyr: Receive timeout
[00:07:45.028,228] <err> golioth_coap_client_zephyr: Failed to receive: -128
[00:07:45.028,686] <inf> golioth_coap_client_zephyr: Ending session
[00:07:48.565,612] <inf> golioth_coap_client_zephyr: Golioth CoAP client connected
[00:07:48.566,406] <inf> golioth_coap_client_zephyr: Entering CoAP I/O loop
Expected Behavior
I expected that CONFIG_GOLIOTH_LOG_LEVEL_*
would set the log level for all log messages generated by the Golioth SDK.
Steps To Reproduce
- Set
CONFIG_GOLIOTH_LOG_LEVEL_ERR=y
inprj.conf
- See Zephyr UART console for log messages generated by the
golioth_coap_client_zephyr
module
Logs, console output, or any kind of debug information
No response