Merge pull request #56767 from adk3798/cephadm-log-only-match
[ceph.git] / src / logrotate.conf
1 /var/log/ceph/*.log {
2     rotate 7
3     daily
4     compress
5     sharedscripts
6     postrotate
7         killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror" || true
8     endscript
9     missingok
10     notifempty
11     su root ceph
12 }