This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 subsys/logging/Kconfig.processing:23

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:31subsys/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.)