CONFIG_SYS_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 SYS_LOG_ERR 2 WARNING, override to write SYS_LOG_WRN in addition to previous level 3 INFO, override to write SYS_LOG_INF in addition to previous levels 4 DEBUG, override to write SYS_LOG_DBG in addition to previous levels

Direct dependencies

SYS_LOG

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/logging/Kconfig:44

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:20

Menu path: (top menu) → Logging Options

config SYS_LOG_OVERRIDE_LEVEL
    int
    prompt "Override lowest log level" if SYS_LOG
    range 0 4 if SYS_LOG
    default 0 if SYS_LOG
    depends on SYS_LOG
    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 SYS_LOG_ERR
      2 WARNING, override to write SYS_LOG_WRN in addition to previous level
      3 INFO, override to write SYS_LOG_INF in addition to previous levels
      4 DEBUG, override to write SYS_LOG_DBG in addition to previous levels

(Definitions include propagated dependencies, including from if’s and menus.)