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:62

Included via Kconfig:10Kconfig.zephyr:26

Menu path: (Top)

config LOG_PROCESS_THREAD
    bool
    default n
    depends on LOG && BOARD_NATIVE_POSIX

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

Included via Kconfig:10Kconfig.zephyr:26

Menu path: (Top)

config LOG_PROCESS_THREAD
    bool
    default n
    depends on LOG && BOARD_NRF52_BSIM

At subsys/logging/Kconfig:178

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

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