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 ifs and menus.)

Default

  • 64

Kconfig definition

At subsys/mgmt/Kconfig.mcumgr:77

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:20subsys/mgmt/Kconfig:69

Menu path: (Top) → Management → mcumgr Support → Command handlers → Enable mcumgr handlers for log management

config LOG_MGMT_NAME_LEN
    int "Maximum log name length"
    default 64
    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.

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