The latest development version of this page may be more current than this released 1.14.1 version.
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.

Direct dependencies

MCUMGR_CMD_LOG_MGMT && MCUMGR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At ext/lib/mgmt/mcumgr/cmd/log_mgmt/Kconfig:40

Included via Kconfig:10Kconfig.zephyr:41ext/Kconfig:19ext/lib/mgmt/Kconfig:22ext/lib/mgmt/mcumgr/Kconfig:25ext/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" if MCUMGR_CMD_LOG_MGMT && MCUMGR
    default 128 if MCUMGR_CMD_LOG_MGMT && MCUMGR
    depends on MCUMGR_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.)