CONFIG_LOG_MGMT_NAME_LEN

Maximum log name length

Type: int

Help

Limits the maximum length of log names, in bytes. If a log’s name length exceeds this number, it gets truncated in management responses. A buffer of this size gets allocated on the stack during handling of all log management commands.

Direct dependencies

MCUMGR_CMD_LOG_MGMT && MCUMGR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At ext/lib/mgmt/mcumgr/cmd/log_mgmt/Kconfig:31

Included via Kconfig:10Kconfig.zephyr:41ext/Kconfig:19ext/lib/mgmt/Kconfig:22ext/lib/mgmt/mcumgr/Kconfig:25ext/lib/mgmt/mcumgr/cmd/Kconfig:22

Menu path: (top menu) → External Sources → Management → mcumgr Support → Command handlers → Enable mcumgr handlers for log management

config LOG_MGMT_NAME_LEN
    int
    prompt "Maximum log name length" if MCUMGR_CMD_LOG_MGMT && MCUMGR
    default 64 if MCUMGR_CMD_LOG_MGMT && MCUMGR
    depends on MCUMGR_CMD_LOG_MGMT && MCUMGR
    help
      Limits the maximum length of log names, in bytes.  If a log's name length
      exceeds this number, it gets truncated in management responses.  A buffer
      of this size gets allocated on the stack during handling of all log
      management commands.

(Definitions include propagated dependencies, including from if’s and menus.)