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:
committed by
Carles Cufí
parent
b53a8e5fea
commit
c5a40e3a9d
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user