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 <Zephyr>/boards/posix/native_posix/Kconfig.defconfig:53

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config LOG_PROCESS_THREAD
    bool
    default n
    depends on LOG && BOARD_NATIVE_POSIX

At <Zephyr>/boards/posix/nrf52_bsim/Kconfig.defconfig:34

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config LOG_PROCESS_THREAD
    bool
    default n
    depends on LOG && BOARD_NRF52_BSIM

At <Zephyr>/subsys/logging/Kconfig:188

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:28

Menu path: (Top) → Sub Systems and OS Services → 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.)