Tune-up logrotate config

The log rotate configuration was leaving too many logs in place and
allowing them to grow too large. This tunes up the logrotation process
to ensure we're retaining information but not excessively.

Change-Id: If0f02352ee2c274f4c589b05630d28126ceba2ab
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-09-18 13:20:27 -05:00
parent 0b0efcb841
commit 3c96804a87
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3

View File

@ -1,12 +1,12 @@
{{ elastic_log_rotate_path }}/*.log
{
copytruncate
weekly
missingok
daily
rotate 2
delaycompress
compress
dateext
maxage 5
notifempty
nocreate
missingok
maxage 5
}