Increase rsyslog buffer sizes.
Swift proxy logs to syslog during the devstack-gate tempest runs. To better capture the swift logs increase the rsyslog buffer size to 6k bytes allowing for longer messages like tracebacks. This was setup by openstack-infra previous during our diskimage builds. I03e42964e14d9f930c07ed047851bdf775639c59 Change-Id: Iaa232335865410600c93f47d4777ed4f1bce08e2 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
e2fb00ebb7
commit
37c7843aad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue