CONFIG_LOG_BACKEND_FS

Enable file system backend

Type: bool

Help

When enabled, backend is using the configured file system to output logs.
As the file system must be mounted for the logging to work, it must be
either configured for auto-mount or manually mounted by the application.
Log messages are discarded as long as the file system is not mounted.

Direct dependencies

FILE_SYSTEM && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig.backends:311

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:31<Zephyr>/subsys/logging/Kconfig:23

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

config LOG_BACKEND_FS
    bool "Enable file system backend"
    depends on FILE_SYSTEM && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG
    help
      When enabled, backend is using the configured file system to output logs.
      As the file system must be mounted for the logging to work, it must be
      either configured for auto-mount or manually mounted by the application.
      Log messages are discarded as long as the file system is not mounted.

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