:orphan: .. title:: CONFIG_LOG_MAX_LEVEL .. kconfig:: CONFIG_LOG_MAX_LEVEL CONFIG_LOG_MAX_LEVEL #################### *Maximal log level compiled in the system* Type: ``int`` Help ==== .. code-block:: none 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 Direct dependencies =================== \ :kconfig:`LOG ` *(Includes any dependencies from ifs and menus.)* Default ======= - 4 Kconfig definition ================== At ``/logging/Kconfig.filtering:45`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:31`` → ``/logging/Kconfig:15`` Menu path: (Top) → Sub Systems and OS Services → Logging → Logging levels filtering .. code-block:: kconfig config LOG_MAX_LEVEL int "Maximal log level compiled in the system" range 0 4 default 4 depends on LOG 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 *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*