I use logrotate too, because I didn't know of the functionality in Asterisk.
Logrotate works fine for me though.
Kenny, you should give it a try!
K
On 7/28/06, Filip DrÄ…gowski <[EMAIL PROTECTED]> wrote:
asterisk does daily log rotate all along ? i didn't know that it is posiible
i create file in /etc/logrotate.d/asterisk (copy of postgrsql and renamed it)
/var/log/asterisk/full {
daily
rotate 10
copytruncate
delaycompress
compress
notifempty
create 640 root root
}
i have 10 last full log, 8 oldest gzipedon one cosnole a do asterisk -r on other i do asterisk -rx "logger rotate" and the result is -- Remote UNIX connection Asterisk Event Logger restarted Asterisk Queue Logger restarted -- Remote UNIX connection disconnected how often new log files are created ? = how many log files are created in 1 second ?Very often, it slows down as the number of log files in the /var/log/asterisk directory increases.there is some kind of regularity or it is done randomly (10logs/1s and another time 20logs/1s) ?Seems to happen more often than not (the past three days) overnight. We're assuming that it starts when asterisk does it's daily log rotate itself and then gets itself into a spin...
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
