kolla-ansible/ansible/roles/common/templates/cron-logrotate-ceph.conf.j2
Jeffrey Zhang c7a77efe5b Change mode after ceph and neutron log is rotated
Change the log mode to 644 ensure that fluent can read the files.

Change-Id: I5b718b82ac4267ab29425b2859b14e4518e75cf1
Closes-Bug: #1708095
2017-08-03 07:52:29 +08:00

8 lines
130 B
Django/Jinja

"/var/log/kolla/ceph/*.log"
{
create 644 root root
postrotate
chmod 644 /var/log/kolla/ceph/*.log
endscript
}