CONFIG_SHELL_LOG_BACKEND

Enable shell log backend

Type: bool

Help

When enabled, backend will use the shell for logging. This option is enabled by default. Disabling this option disables log output to all shell backends. Disabling log output to a specific shell backend can be achieved using the shell backend’s LOG_LEVEL option (e.g. CONFIG_SHELL_TELNET_INIT_LOG_LEVEL_NONE=y).

Direct dependencies

!LOG_MINIMAL && SHELL

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At <Zephyr>/subsys/shell/Kconfig:148

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:38

Menu path: (Top) → Sub Systems and OS Services → Shell

config SHELL_LOG_BACKEND
    bool "Enable shell log backend"
    default y if LOG
    depends on !LOG_MINIMAL && SHELL
    help
      When enabled, backend will use the shell for logging.
      This option is enabled by default.
      Disabling this option disables log output to all shell backends.
      Disabling log output to a specific shell backend can be achieved
      using the shell backend's LOG_LEVEL option
      (e.g. CONFIG_SHELL_TELNET_INIT_LOG_LEVEL_NONE=y).

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)