summaryrefslogtreecommitdiff
blob: 857a970b3aa42fa768d8885b2339528cef67c364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/var/log/asterisk/messages /var/log/asterisk/queue_log {
	missingok
	notifempty

	postrotate
		/etc/init.d/asterisk --quiet status && /usr/sbin/asterisk -rnx "logger reload" || /bin/true
	endscript
}

/var/log/asterisk/debug /var/log/asterisk/full {
	missingok
	notifempty
	daily

	postrotate
		/etc/init.d/asterisk --quiet status && /usr/sbin/asterisk -rnx "logger reload" || /bin/true
	endscript
}

/var/log/asterisk/cdr-csv/*.csv /var/log/asterisk/cdr-custom/*.csv {
	missingok
	notifempty
	weekly
	rotate 52
}