
To ensure we're not creating too many logs files the logrotate config has been added to truncate and compress log files every other day with a max retention priod of 5 days. Change-Id: I0dd85a334dba48e9fce3aad67ead867e2f46cb02 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
13 lines
197 B
Django/Jinja
13 lines
197 B
Django/Jinja
{{ elastic_log_rotate_path }}/*.log
|
|
{
|
|
copytruncate
|
|
weekly
|
|
missingok
|
|
rotate 2
|
|
compress
|
|
dateext
|
|
maxage 5
|
|
notifempty
|
|
nocreate
|
|
}
|