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
This commit is contained in:
Jeffrey Zhang 2017-08-03 07:50:42 +08:00
parent f21d954179
commit c7a77efe5b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
"/var/log/kolla/ceph/*.log" "/var/log/kolla/ceph/*.log"
{ {
create 644 root root
postrotate
chmod 644 /var/log/kolla/ceph/*.log
endscript
} }

View File

@ -1,3 +1,6 @@
"/var/log/kolla/neutron/*.log" "/var/log/kolla/neutron/*.log"
{ {
postrotate
chmod 644 /var/log/kolla/neutron/*.log
endscript
} }