aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/asterisk.logrotate
blob: 30836c5c11d22eaf8e0aee0317d8994955d918bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/var/log/asterisk/messages /var/log/asterisk/*log {
	missingok
	rotate 5
	weekly
	create 0640 asterisk asterisk
	postrotate
		/usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
	endscript
}

/var/log/asterisk/cdr-csv/*csv {
	missingok
	rotate 5
	monthly
	create 0640 asterisk asterisk
}