I want to ask a question with queue_log rotation.
I'm testing a demo of queuemetrics 1.4.2 version.
I found "queue_log, queue_log.1,queue_log.2, queue_log.3, queue_log.4,
queue_log.5" six files in "/var/log/asterisk" Directory on my asterisk server, but only "queue_log" text in qloader.pl file, I want to know ,when do flowing, how qloaderd know which log file is currently log file? how can I do?
/var/log/asterisk/*log {
missingok
rotate 5
weekly
create 0640 asterisk asterisk
postrotate
/usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
/etc/init.d/qloaderd restart > /dev/null 2> /dev/null
endscript
}
Excuse me for my bad english.
I am a chinese, Do you understand chinese?