summaryrefslogtreecommitdiffstats
path: root/share/logrotate/ceph-log
blob: 2e62e602ed6025c36bd382a6d042997f30229c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/var/log/open-infrastructure/ceph-watch.log {
	compress
	create 0644 root root
	dateext
	dateformat -%Y%m%d
	dateyesterday
	missingok
	daily
	notifempty
	rotate 9999
	prerotate
		service ceph-log stop > /dev/null 2>&1
	endscript
	postrotate
		service ceph-log start > /dev/null 2>&1
	endscript
}