Uptime counters (was RE: [Asterisk-Users] Bayonne and Asterisk)

Ken Godee ken at perfect-image.com
Thu Nov 20 08:12:27 MST 2003


Andrew Kohlsmith wrote:

>>You can not rotate logs with out dropping calls,  and if logs get a
>>little over 2Gbs Asterisk will crashes...
> 
> 
> Why not?  Why are the logfiles kept open for the entire life of Asterisk?  
> Hell even my heavily loaded qmail server isn't this braindead in that 
> regard.
> 
Maybe I missed part of this thread, but as of "like 10/05/03" cvs
there was a new app added for this called (I think) "logrotate".
It's supposed to allow you to send * a remote command and rotate
your logs. I upgraded for this feature but have not had time to test it 
yet, it's  on my "look at" list. Like I said maybe I missed part of 
thread but you should be able to setup a cron job and forget about it.
Anybody using the "logrotate" app?






More information about the asterisk-users mailing list