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

Enable 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

(LOG && BOARD_NATIVE_POSIX) || (LOG && BOARD_NRF52_BSIM) || (MULTITHREADING && !LOG_IMMEDIATE && !LOG_MINIMAL && LOG)

(Includes any dependencies from ifs and menus.)

Defaults

  • n

  • n

  • y

Kconfig definitions

At boards/posix/native_posix/Kconfig.defconfig:53

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config LOG_PROCESS_THREAD
    bool
    default n
    depends on LOG && BOARD_NATIVE_POSIX

At boards/posix/nrf52_bsim/Kconfig.defconfig:34

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config LOG_PROCESS_THREAD
    bool
    default n
    depends on LOG && BOARD_NRF52_BSIM

At subsys/logging/Kconfig:188

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:18

Menu path: (Top) → Logging

config LOG_PROCESS_THREAD
    bool "Enable internal thread for log processing"
    default y
    depends on MULTITHREADING && !LOG_IMMEDIATE && !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.)