kolla-ansible/ansible/roles/common/templates/cron-logrotate-global.conf.j2
Zhuo Zhen 29ccd38eaa Configurable logrotate rotation interval and count
The logrotate rotation interval and count are not configurable.
Currently, the configuration is a "default" that keeps 6 weeks of logs.

Change-Id: I4f55ee2a98f7861cb8de2724f5edc32da6d2f9ee
2020-03-02 20:35:22 +00:00

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