-
CONFIG_LOG_DEFAULT_LEVEL
¶
Default log level
Type: int
Help¶
Sets log level for modules which don’t specify it explicitly. When set to 0 it means log will not be activated for those modules. Levels are:
- 0 OFF, do not write by default
- 1 ERROR, default to only write LOG_LEVEL_ERR
- 2 WARNING, default to write LOG_LEVEL_WRN
- 3 INFO, default to write LOG_LEVEL_INFO
- 4 DEBUG, default to write LOG_LEVEL_DBG
Kconfig definition¶
At subsys/logging/Kconfig:21
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:20
Menu path: (top menu) → Logging
config LOG_DEFAULT_LEVEL int prompt "Default log level" ifLOG
range 0 4 ifLOG
default 3 ifLOG
depends onLOG
help Sets log level for modules which don't specify it explicitly. When set to 0 it means log will not be activated for those modules. Levels are: - 0 OFF, do not write by default - 1 ERROR, default to only write LOG_LEVEL_ERR - 2 WARNING, default to write LOG_LEVEL_WRN - 3 INFO, default to write LOG_LEVEL_INFO - 4 DEBUG, default to write LOG_LEVEL_DBG
(Definitions include propagated dependencies, including from if’s and menus.)