Asterisk logs logrotate

Logrotate config

cat /etc/logrotate.d/asterisk
/var/log/asterisk/full
/var/log/asterisk/security
/var/log/asterisk/messages
/var/log/asterisk/queue_log
{
    weekly
    dateext
    missingok
    compress
    delaycompress
    rotate 12
    sharedscripts
    postrotate
        asterisk -rx "logger rotate" > /dev/null 2>/dev/null
    endscript
}