How to see the NRF_LOG_INFO() log?

Hi,

My environment:

MDK IDE-Version: V5.38.0.0
SKD v17.1.0
nRF52-DK PCA10040 / s132

I tried to set "NRF_LOG_BACKEND*" in sdk_config.h, all of the definitions are enabled and I still can not see the "NRF_LOG_INFO()" log!?

How(Where) do I see the log? 

Thank you.

Parents
  • Hello,

    Are you working with an example from the SDK?
    The default logger output will be over UART, and so you may see the logs using a serial terminal/monitor if you have set the log level high enough to be output.
    If you are using the BLE UART examples then the default logger output will be RTT, in which case you can see it in the 'debug terminal' or standalone RTT Viewer application from Segger.

    Could you share your sdk_config.h file, so that I can verify if there's any issues with the configuration?

    Best regards,
    Karl

Reply
  • Hello,

    Are you working with an example from the SDK?
    The default logger output will be over UART, and so you may see the logs using a serial terminal/monitor if you have set the log level high enough to be output.
    If you are using the BLE UART examples then the default logger output will be RTT, in which case you can see it in the 'debug terminal' or standalone RTT Viewer application from Segger.

    Could you share your sdk_config.h file, so that I can verify if there's any issues with the configuration?

    Best regards,
    Karl

Children
Related