The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD

Number of buffered log messages before flushing

Type: int

Help

When number of buffered messages reaches the threshold thread is waken
up. Log processing thread ID is provided during log initialization.
Set 0 to disable the feature. If LOG_PROCESS_THREAD is enabled then
this threshold is used by the internal thread.

Direct dependencies

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

(Includes any dependencies from ifs and menus.)

Default

  • 10

Kconfig definition

At subsys/logging/Kconfig.processing:48

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:31subsys/logging/Kconfig:26

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

config LOG_PROCESS_TRIGGER_THRESHOLD
    int "Number of buffered log messages before flushing"
    default 10
    depends on MULTITHREADING && !LOG_IMMEDIATE && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      When number of buffered messages reaches the threshold thread is waken
      up. Log processing thread ID is provided during log initialization.
      Set 0 to disable the feature. If LOG_PROCESS_THREAD is enabled then
      this threshold is used by the internal thread.

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