This is the documentation for the latest (main) 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_LOG_BACKEND_UART

Enable UART backend

Type: bool

Help

When enabled backend is using UART to output logs.

Direct dependencies

UART_CONSOLE && !LOG_FRONTEND && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At subsys/logging/Kconfig.backends:6

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:31subsys/logging/Kconfig:23

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

config LOG_BACKEND_UART
    bool "Enable UART backend"
    default y if !SHELL_BACKEND_SERIAL
    depends on UART_CONSOLE && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      When enabled backend is using UART to output logs.

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