-
CONFIG_LOG_MGMT_BODY_LEN
¶
Maximum log body length
Type: int
Help¶
Limits the maximum length of log entry bodies, in bytes. If a log entry’s body length exceeds this number, it gets truncated in management responses. A buffer of this size gets allocated on the stack during handling of the log show command.
Defaults¶
- 128 if
MCUMGR_CMD_LOG_MGMT
&&MCUMGR
Kconfig definition¶
At ext/lib/mgmt/mcumgr/cmd/log_mgmt/Kconfig:40
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_BODY_LEN int prompt "Maximum log body length" ifMCUMGR_CMD_LOG_MGMT
&&MCUMGR
default 128 ifMCUMGR_CMD_LOG_MGMT
&&MCUMGR
depends onMCUMGR_CMD_LOG_MGMT
&&MCUMGR
help Limits the maximum length of log entry bodies, in bytes. If a log entry's body length exceeds this number, it gets truncated in management responses. A buffer of this size gets allocated on the stack during handling of the log show command.
(Definitions include propagated dependencies, including from if’s and menus.)