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_PROCESS_THREAD

Use internal thread for log processing

Type: bool

Help

When enabled thread is created by the logger subsystem. Thread is
waken up periodically (see LOG_PROCESS_THREAD_SLEEP_MS) and whenever
number of buffered messages exceeds the threshold (see
LOG_PROCESS_TRIGGER_THR).

Direct dependencies

MULTITHREADING && !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:58

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

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

config LOG_PROCESS_THREAD
    bool "Use internal thread for log processing"
    default y
    depends on MULTITHREADING && !LOG_IMMEDIATE && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      When enabled thread is created by the logger subsystem. Thread is
      waken up periodically (see LOG_PROCESS_THREAD_SLEEP_MS) and whenever
      number of buffered messages exceeds the threshold (see
      LOG_PROCESS_TRIGGER_THR).

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