:orphan: .. title:: LOG_BACKEND_NET_MAX_BUF_SIZE .. option:: CONFIG_LOG_BACKEND_NET_MAX_BUF_SIZE *Max syslog message size* Type: ``int`` Help ==== As each syslog message needs to fit to UDP packet, set this value so that messages are not truncated. The RFC 5426 recommends that for IPv4 the size is 480 octets and for IPv6 the size is 1180 octets. As each buffer will use RAM, the value should be selected so that typical messages will fit the buffer. Direct dependencies =================== \ :option:`LOG_BACKEND_NET ` && !\ :option:`LOG_FRONTEND ` && !\ :option:`LOG_MINIMAL ` && \ :option:`LOG ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 1180 if \ :option:`NET_IPV6 ` - 480 if \ :option:`NET_IPV4 ` - 256 Kconfig definition ================== .. highlight:: kconfig At ``subsys/logging/Kconfig.backends:225`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:31`` → ``subsys/logging/Kconfig:25`` Menu path: (Top) → Sub Systems and OS Services → Logging → Backends → Enable networking backend .. parsed-literal:: config LOG_BACKEND_NET_MAX_BUF_SIZE int "Max syslog message size" range 64 1180 default 1180 if \ :option:`NET_IPV6 ` default 480 if \ :option:`NET_IPV4 ` default 256 depends on \ :option:`LOG_BACKEND_NET ` && !\ :option:`LOG_FRONTEND ` && !\ :option:`LOG_MINIMAL ` && \ :option:`LOG ` help As each syslog message needs to fit to UDP packet, set this value so that messages are not truncated. The RFC 5426 recommends that for IPv4 the size is 480 octets and for IPv6 the size is 1180 octets. As each buffer will use RAM, the value should be selected so that typical messages will fit the buffer. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*