CONFIG_LOG_BACKEND_FS_FILE_PREFIX

Log file name prefix

Type: string

Help

User defined name of log files saved in the file system.
The prefix is followed by the number of log file.

Direct dependencies

LOG_BACKEND_FS && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

  • “log.”

Kconfig definition

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

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_FILE_PREFIX
    string "Log file name prefix"
    default "log."
    depends on LOG_BACKEND_FS && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG
    help
      User defined name of log files saved in the file system.
      The prefix is followed by the number of log file.

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