CONFIG_LOG_STRDUP_MAX_STRING

Longest string that can be duplicated using log_strdup()

Type: int

Help

Longer strings are truncated.

Direct dependencies

!LOG_IMMEDIATE && LOG

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

Defaults

Kconfig definition

At subsys/logging/Kconfig:283

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

Menu path: (top menu) → Logging Options

config LOG_STRDUP_MAX_STRING
    int
    prompt "Longest string that can be duplicated using log_strdup()" if !LOG_IMMEDIATE && LOG
    default 46 if NETWORKING && !LOG_IMMEDIATE && LOG
    default 32 if !LOG_IMMEDIATE && LOG
    depends on !LOG_IMMEDIATE && LOG
    help
      Longer strings are truncated.

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