This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
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 subsys/shell/Kconfig:164

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:41

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.)