3bcd4aea05
This commit extends the file size for ansible bootstrap log rotation. The size is extended so that the file is not rotated during the subcloud bootstrap operation. The new size (450K) to keep the file as small as possible (the file is uncompressed, with at least one per deployed subcloud), with a margin for expanded log size in the future. Test Plan: PASS: Verify the ansible log is still rotated but not during the first bootstrap operation, and that the other rotation parameters are not affected. Story: 2010611 Task: 48319 Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com> Change-Id: I0fa839dedde4eedecb922e7aa1cfab9b56bc0fd6
58 lines
1.0 KiB
Plaintext
58 lines
1.0 KiB
Plaintext
/var/log/dcmanager/*.log
|
|
{
|
|
nodateext
|
|
size 20M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/dcdbsync/*.log
|
|
{
|
|
nodateext
|
|
size 10M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/dcorch/*.log
|
|
{
|
|
nodateext
|
|
size 20M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/dcmanager/ansible/*.log
|
|
{
|
|
nodateext
|
|
size 450K
|
|
start 1
|
|
rotate 2
|
|
missingok
|
|
notifempty
|
|
compress
|
|
delaycompress
|
|
sharedscripts
|
|
}
|