Merge "Increase rsyslog buffer sizes."

This commit is contained in:
Jenkins 2017-04-20 20:03:44 +00:00 committed by Gerrit Code Review
commit d8863f6c98
1 changed files with 1 additions and 0 deletions

View File

@ -554,6 +554,7 @@ EOF
if [[ $SYSLOG != "False" ]]; then
sed "s,%SWIFT_LOGDIR%,${swift_log_dir}," $FILES/swift/rsyslog.conf | sudo \
tee /etc/rsyslog.d/10-swift.conf
echo "MaxMessageSize 6k" | sudo tee /etc/rsyslog.d/99-maxsize.conf
# restart syslog to take the changes
sudo killall -HUP rsyslogd
fi