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