-
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.
Defaults¶
- 64 if
MCUMGR_CMD_LOG_MGMT
&&MCUMGR
Kconfig definition¶
At ext/lib/mgmt/mcumgr/cmd/log_mgmt/Kconfig:31
Included via Kconfig:10
→ Kconfig.zephyr:41
→ ext/Kconfig:19
→ ext/lib/mgmt/Kconfig:22
→ ext/lib/mgmt/mcumgr/Kconfig:25
→ ext/lib/mgmt/mcumgr/cmd/Kconfig:22
Menu path: (top menu) → External Sources → Management → Command handlers → Enable mcumgr handlers for log management
config LOG_MGMT_NAME_LEN int prompt "Maximum log name length" ifMCUMGR_CMD_LOG_MGMT
&&MCUMGR
default 64 ifMCUMGR_CMD_LOG_MGMT
&&MCUMGR
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.
(Definitions include propagated dependencies, including from if’s and menus.)