The latest development version of this page may be more current than this released 2.7.5 version.

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_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/logging/Kconfig.backends:300

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:31subsys/logging/Kconfig:28

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