This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_LOG_BLOCK_IN_THREAD

Block in thread context on full

Type: bool

Help

When enabled logger will block (if in the thread context) when
internal logger buffer is full and new message cannot be allocated.

Direct dependencies

MULTITHREADING && !LOG_IMMEDIATE && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/logging/Kconfig.processing:30

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:31subsys/logging/Kconfig:21

Menu path: (Top) → Sub Systems and OS Services → Logging → Processing

config LOG_BLOCK_IN_THREAD
    bool "Block in thread context on full"
    depends on MULTITHREADING && !LOG_IMMEDIATE && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      When enabled logger will block (if in the thread context) when
      internal logger buffer is full and new message cannot be allocated.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)