-
CONFIG_LOG_MAX_LEVEL
¶
Maximal log level compiled in the system
Type: int
Help¶
Forces a maximal log level for all modules. Modules saturates 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, logging is turned off
- 1 ERROR, maximal level set to LOG_LEVEL_ERR
- 2 WARNING, maximal level set to LOG_LEVEL_WRN
- 3 INFO, maximal level set to LOG_LEVEL_INFO
- 4 DEBUG, maximal level set to LOG_LEVEL_DBG
Kconfig definition¶
At subsys/logging/Kconfig:54
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:20
Menu path: (top menu) → Logging
config LOG_MAX_LEVEL int prompt "Maximal log level compiled in the system" ifLOG
range 0 4 ifLOG
default 4 ifLOG
depends onLOG
help Forces a maximal log level for all modules. Modules saturates 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, logging is turned off - 1 ERROR, maximal level set to LOG_LEVEL_ERR - 2 WARNING, maximal level set to LOG_LEVEL_WRN - 3 INFO, maximal level set to LOG_LEVEL_INFO - 4 DEBUG, maximal level set to LOG_LEVEL_DBG
(Definitions include propagated dependencies, including from if’s and menus.)