CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD

Amount of buffered logs which triggers processing thread.

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

!LOG_IMMEDIATE && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

  • 10

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig:179

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:28

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

config LOG_PROCESS_TRIGGER_THRESHOLD
    int "Amount of buffered logs which triggers processing thread."
    default 10
    depends on !LOG_IMMEDIATE && !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.)