-
CONFIG_LOG_OVERRIDE_LEVEL
¶
Override lowest log level
Type: int
Help¶
Forces a minimum log level for all modules. Modules use their specified level if it is greater than this option, otherwise they use the level specified by this option instead of their default or whatever was manually set. Levels are:
- 0 OFF, do not override
- 1 ERROR, override to write LOG_LEVEL_ERR
- 2 WARNING, override to write LOG_LEVEL_WRN
- 3 INFO, override to write LOG_LEVEL_INFO
- 4 DEBUG, override to write LOG_LEVEL_DBG
Kconfig definition¶
At subsys/logging/Kconfig:152
Included via Kconfig:10
→ Kconfig.zephyr:35
→ subsys/Kconfig:18
Menu path: (top menu) → Logging Options
config LOG_OVERRIDE_LEVEL int prompt "Override lowest log level" ifLOG
range 0 4 ifLOG
default 0 ifLOG
depends onLOG
help Forces a minimum log level for all modules. Modules use their specified level if it is greater than this option, otherwise they use the level specified by this option instead of their default or whatever was manually set. Levels are: - 0 OFF, do not override - 1 ERROR, override to write LOG_LEVEL_ERR - 2 WARNING, override to write LOG_LEVEL_WRN - 3 INFO, override to write LOG_LEVEL_INFO - 4 DEBUG, override to write LOG_LEVEL_DBG
(Definitions include propagated dependencies, including from if’s and menus.)