-
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.
Default¶
64
Kconfig definition¶
At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:183
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:32
→ <Zephyr>/subsys/mgmt/Kconfig:9
Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for log management
config LOG_MGMT_NAME_LEN int "Maximum log name length" default 64 depends onMCUMGR_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.)