Closed cdwilson closed 2 weeks ago
11ed198648beddb1c895dde96e1af59121048e52
NCS v2.5.2
Aludel Elixir Rev B
macOS Sonoma 14.4
Setting CONFIG_GOLIOTH_LOG_LEVEL_* doesn't affect log messages generated by the golioth_coap_client_zephyr module (coap_client_zephyr.c).
CONFIG_GOLIOTH_LOG_LEVEL_*
golioth_coap_client_zephyr
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:
CONFIG_GOLIOTH_LOG_LEVEL_ERR=y
prj.conf
[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
I expected that CONFIG_GOLIOTH_LOG_LEVEL_* would set the log level for all log messages generated by the Golioth SDK.
No response
Resolved by #612
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 thegolioth_coap_client_zephyr
module (coap_client_zephyr.c
).For example, if I set
CONFIG_GOLIOTH_LOG_LEVEL_ERR=y
inprj.conf
, I still see the following log messages in the console: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
CONFIG_GOLIOTH_LOG_LEVEL_ERR=y
inprj.conf
golioth_coap_client_zephyr
moduleLogs, console output, or any kind of debug information
No response