The latest development version of this page may be more current than this released 2.5.0 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:56

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:31subsys/logging/Kconfig:23

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.)