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

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:31<Zephyr>/subsys/logging/Kconfig:23

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

config LOG_BACKEND_FS_OVERWRITE
    bool "Enable old log files overwrite"
    default y
    depends on LOG_BACKEND_FS && !LOG_FRONTEND && !LOG_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.)