The latest development version of this page may be more current than this released 2.2.1 version.
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_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At subsys/logging/Kconfig:238

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:18

Menu path: (Top) → Logging

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

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