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_BUFFER_SIZE

Number of bytes dedicated for the logger internal buffer

Type: int

Help

Number of bytes dedicated for the logger internal buffer.

Direct dependencies

BOARD_BBC_MICROBIT || BOARD_QEMU_CORTEX_M0 || (!LOG_IMMEDIATE && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At boards/arm/bbc_microbit/Kconfig.defconfig:14

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LOG_BUFFER_SIZE
    int
    default 128 if LOG
    depends on BOARD_BBC_MICROBIT

At boards/arm/qemu_cortex_m0/Kconfig.defconfig:35

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config LOG_BUFFER_SIZE
    int
    default 128 if LOG
    depends on BOARD_QEMU_CORTEX_M0

At subsys/logging/Kconfig.processing:102

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

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

config LOG_BUFFER_SIZE
    int "Number of bytes dedicated for the logger internal buffer"
    range 128 65536
    default 1024
    depends on !LOG_IMMEDIATE && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      Number of bytes dedicated for the logger internal buffer.

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