This is the documentation for the latest (main) 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_MODE_DEFERRED && !LOG_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At subsys/logging/Kconfig.processing:124

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:31subsys/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_MINIMAL && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      Longer strings are truncated.

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