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

OpenThread logging enable

Hello,

I am developing thread network and i am building on top of mqttsn_sleepy_publisher example. But I have problem to enable RTT logging (UART not available) for thread stack. RTT logging for app works (using NRF_LOG_INFO). I see logs within RTT Viewer. But none of the logs comes from open thread stack.

It should be enabled by default (it is mentioned in following link)

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v3.2.0%2Fthread_ot_logging.html

I even tried FULL_LOGS=1 build flag, but no logs appeared from open thread.

Fullscreen
1
2
Open the .h configuration file whose name corresponds to the name of the openthread-core-default-config.h file, for example openthread-core-posix-config.h.
In this file, define the desired log output configuration.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I tried to edit openthread-core-default-config.h but nothing changed. The header file is not included in any files within project.

Thanks for help

SDK version 4.1.0