-
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.
Default¶
128
Kconfig definition¶
At subsys/mgmt/Kconfig.mcumgr:86
Included via Kconfig:8
→ Kconfig.zephyr:44
→ subsys/Kconfig:20
→ subsys/mgmt/Kconfig:69
Menu path: (Top) → Management → mcumgr Support → Command handlers → Enable mcumgr handlers for log management
config LOG_MGMT_BODY_LEN int "Maximum log body length" default 128 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.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)