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

CONFIG_LOG_BACKEND_FS_DIR

Log directory

Type: string

Help

Directory to which log files will be written.

Direct dependencies

LOG_BACKEND_FS && !LOG_FRONTEND && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

  • “/lfs1”

Kconfig definition

At subsys/logging/Kconfig.backends:350

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

Menu path: (Top) → Sub Systems and OS Services → Logging → Backends → Enable file system backend

config LOG_BACKEND_FS_DIR
    string "Log directory"
    default "/lfs1"
    depends on LOG_BACKEND_FS && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      Directory to which log files will be written.

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