summaryrefslogtreecommitdiffstats
path: root/share/logrotate/ceph-log
blob: 7bcaf3fd692051ddc7ffad2e1ae2a56f54663a3c (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 9999
	prerotate
		service ceph-log stop > /dev/null 2>&1
	endscript
	postrotate
		service ceph-log start > /dev/null 2>&1
	endscript
}