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

Dynamically switching Logs

Hi, 

I am using nrf52840 Preview - DK, with SDK v15.3.0 and Softdevice API 6.1.1

As we need to set NRF_LOG by setting the NRF_LOG_ENABLE and NRF_LOG_BACKEND_URAT_ENABLE  and NRF_FPRINTF to 0 in the sdk_config file to conserver power, which is a compile time procedure.

Is there any run-time solution to turn ON and OFF logs, I need to print some important messages once in a while and then turn OFF the logs to conserve power, is there a solution ?

Thanks.  

Parents Reply Children
No Data
Related