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

(Includes any dependencies from ifs and menus.)

Default

  • “/lfs1”

Kconfig definition

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

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 → Enable file system backend

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

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