
The logrotate rotation interval and count are not configurable. Currently, the configuration is a "default" that keeps 6 weeks of logs. Change-Id: I4f55ee2a98f7861cb8de2724f5edc32da6d2f9ee
22 lines
213 B
Django/Jinja
22 lines
213 B
Django/Jinja
{{ cron_logrotate_rotation_interval }}
|
|
|
|
rotate {{ cron_logrotate_rotation_count }}
|
|
|
|
copytruncate
|
|
|
|
compress
|
|
|
|
delaycompress
|
|
|
|
notifempty
|
|
|
|
missingok
|
|
|
|
minsize 30M
|
|
|
|
maxsize 100M
|
|
|
|
su root kolla
|
|
|
|
include /etc/logrotate.d
|