mirror of
https://github.com/goharbor/harbor.git
synced 2025-03-11 22:20:00 +01:00
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:
parent
a7f8f531f9
commit
1a8a55855b
@ -5,6 +5,9 @@
|
|||||||
#
|
#
|
||||||
# Default logging rules can be found in /etc/rsyslog.d/50-default.conf
|
# 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 ####
|
#### MODULES ####
|
||||||
|
Loading…
Reference in New Issue
Block a user