Skip to content

Have logging output separate from CLI output. #7966

Closed Answered by abtink
bagel99 asked this question in Q&A
Discussion options

You must be logged in to vote

@bagel99 you can use the OPENTHREAD_CONFIG_LOG_OUTPUT to specify where the log output goes to.

  • OPENTHREAD_CONFIG_LOG_OUTPUT_APP will send the logs to app (CLI or NCP) - which I guess is what you have in your setup.
  • OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED will use otPlatLog() which can be implemented by the platform layer.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jwhui
Comment options

You must be logged in to vote
1 reply
@abtink
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #7965 on August 01, 2022 19:42.