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_MODE_MINIMAL && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

  • 10

Kconfig definition

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

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

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_MODE_MINIMAL && !LOG_FRONTEND && !LOG_MODE_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.)