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 <Zephyr>/subsys/logging/Kconfig:240

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:31

Menu path: (Top) → Sub Systems and OS Services → 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.)