CONFIG_LOG_STRDUP_MAX_STRING

Longest string that can be duplicated using log_strdup()

Type: int

Help

Longer strings are truncated.

Direct dependencies

LOG_MODE_DEFERRED && !LOG_MODE_MINIMAL && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig.processing:124

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:31<Zephyr>/subsys/logging/Kconfig:21

Menu path: (Top) → Sub Systems and OS Services → Logging → Processing

config LOG_STRDUP_MAX_STRING
    int "Longest string that can be duplicated using log_strdup()"
    range 1 8192
    default 66 if BT
    default 46 if NETWORKING
    default 32
    depends on LOG_MODE_DEFERRED && !LOG_MODE_MINIMAL && !LOG_FRONTEND && !LOG_MODE_MINIMAL && LOG
    help
      Longer strings are truncated.

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