I think this directive should be on top, here is a snippet from the documentation:
$MaxMessageSize , default 8k - allows to specify maximum supported message size (both for sending and receiving). The default should be sufficient for almost all cases. Do not set this below 1k, as it would cause interoperability problems with other syslog implementations.
Important: In order for this directive to work correctly, it must be placed right at the top of rsyslog.conf (before any input is defined).
I think this directive should be on top, here is a snippet from the documentation:
$MaxMessageSize, default 8k - allows to specify maximum supported message size (both for sending and receiving). The default should be sufficient for almost all cases. Do not set this below 1k, as it would cause interoperability problems with other syslog implementations.
Important: In order for this directive to work correctly, it must be placed right at the top of rsyslog.conf (before any input is defined).