CONFIG_LOG_MODE_OVERFLOW

Drop oldest message when full

Type: bool

Help

If enabled, then if there is no space to log a new message, the
oldest one is dropped. If disabled, current message is dropped.

Direct dependencies

!LOG_IMMEDIATE && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig.processing:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:31<Zephyr>/subsys/logging/Kconfig:21

Menu path: (Top) → Sub Systems and OS Services → Logging → Processing

config LOG_MODE_OVERFLOW
    bool "Drop oldest message when full"
    default y
    depends on !LOG_IMMEDIATE && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      If enabled, then if there is no space to log a new message, the
      oldest one is dropped. If disabled, current message is dropped.

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