logging: Enable LOG_PRINTK if PRINTK is enabled
This change will enable the logging system to handle printk() calls by default if printk support is enabled, which improves output resiliency when logging, mcumgr and printk calls are used. Will disable keep LOG_PRINTK disabled for tests which are not using the new API as moving to LOG_PRINTK causes test data to be output to a different UART in the old test system. Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
b53a8e5fea
commit
c5a40e3a9d
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ if !LOG_MODE_MINIMAL
|
|||
|
||||
config LOG_PRINTK
|
||||
bool "Process printk messages"
|
||||
default y if PRINTK && (!ZTEST || ZTEST_NEW_API)
|
||||
help
|
||||
LOG_PRINTK messages are formatted in place and logged unconditionally.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue