Add "MaxMessageSize" to the config of rsyslogd

Add "MaxMessageSize" to the config of rsyslogd to avoid the mess of log file when the size of one log line > 8k

Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
Wenkai Yin 2019-05-15 18:10:22 +08:00
parent a7f8f531f9
commit 1a8a55855b

View File

@ -5,6 +5,9 @@
#
# Default logging rules can be found in /etc/rsyslog.d/50-default.conf
# The default value is 8k. When the size of one log line > 8k, the line
# is truncated and causes mess in log file directory
$MaxMessageSize 32k
#################
#### MODULES ####