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 && !LOG_MODE_MINIMAL && SHELL

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:45

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 && !LOG_MODE_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.)