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:
parent
0b0efcb841
commit
3c96804a87
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user