Asterisk Logrotate
From KlavoWiki
If you would like to do a logrotate on your Asterisk files create the following file
vi /etc/logrotate.d/asterisk
Add the following contents.
/var/log/asterisk/messages /var/log/asterisk/*log { missingok notifempty rotate 52 weekly create 0640 root root postrotate /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null endscript }