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