-
CONFIG_SYS_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 wont be activated for those modules. Levels are: 0 OFF, do not write by default 1 ERROR, default to only write SYS_LOG_ERR 2 WARNING, default to write SYS_LOG_WRN in addition to previous level 3 INFO, default to write SYS_LOG_INF in addition to previous levels 4 DEBUG, default to write SYS_LOG_DBG in addition to previous levels
Kconfig definition¶
At subsys/logging/Kconfig:29
Included via Kconfig:10
→ Kconfig.zephyr:35
→ subsys/Kconfig:18
Menu path: (top menu) → Logging Options
config SYS_LOG_DEFAULT_LEVEL int prompt "Default log level" ifSYS_LOG
range 0 4 ifSYS_LOG
default 0 ifSYS_LOG
depends onSYS_LOG
help Sets log level for modules which don't specify it explicitly. When set to 0 it means log wont be activated for those modules. Levels are: 0 OFF, do not write by default 1 ERROR, default to only write SYS_LOG_ERR 2 WARNING, default to write SYS_LOG_WRN in addition to previous level 3 INFO, default to write SYS_LOG_INF in addition to previous levels 4 DEBUG, default to write SYS_LOG_DBG in addition to previous levels
(Definitions include propagated dependencies, including from if’s and menus.)