This is the documentation for the latest (master) 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_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.)