CONFIG_LOG_BACKEND_FS_OVERWRITE

Enable old log files overwrite

Type: bool

Help

When enabled backend overwrites oldest log files.
In other case, when memory is full, new messages are dropped.

Direct dependencies

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

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

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

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_OVERWRITE
    bool "Enable old log files overwrite"
    default y
    depends on LOG_BACKEND_FS && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG
    help
      When enabled backend overwrites oldest log files.
      In other case, when memory is full, new messages are dropped.

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