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)

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definitions

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

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config LOG_PROCESS_THREAD
    bool
    default "n" if LOG && BOARD_NATIVE_POSIX
    depends on LOG && BOARD_NATIVE_POSIX

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

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config LOG_PROCESS_THREAD
    bool
    default "n" if LOG && BOARD_NRF52_BSIM
    depends on LOG && BOARD_NRF52_BSIM

At subsys/logging/Kconfig:141

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:20

Menu path: (top menu) → Logging

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

(Definitions include propagated dependencies, including from if’s and menus.)