The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_LOG_STRDUP_BUF_COUNT

Number of buffers in the pool used by log_strdup()

Type: int

Help

Number of calls to log_strdup() which can be pending before flushed to output. If “<log_strdup alloc failed>” message is seen in the log output, it means this value is too small and should be increased. Each entry takes CONFIG_LOG_STRDUP_MAX_STRING bytes of memory plus some additional fixed overhead.

Direct dependencies

!LOG_IMMEDIATE && LOG

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

Defaults

Kconfig definition

At subsys/logging/Kconfig:186

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

Menu path: (top menu) → Logging

config LOG_STRDUP_BUF_COUNT
    int
    prompt "Number of buffers in the pool used by log_strdup()" if !LOG_IMMEDIATE && LOG
    default 4 if !LOG_IMMEDIATE && LOG
    depends on !LOG_IMMEDIATE && LOG
    help
      Number of calls to log_strdup() which can be pending before flushed
      to output. If "<log_strdup alloc failed>" message is seen in the log
      output, it means this value is too small and should be increased.
      Each entry takes CONFIG_LOG_STRDUP_MAX_STRING bytes of memory plus
      some additional fixed overhead.

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