Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-29 Thread Tzafrir Cohen
On Fri, Jul 28, 2006 at 02:33:11PM +0100, Kenny Millington wrote: Koen Van Impe wrote: I use logrotate too, because I didn't know of the functionality in Asterisk. Logrotate works fine for me though. Ok, I believe I see the problem here! I was told (apparently erroneously) that asterisk

[asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Kenny Millington
Hi, We're seeing a problem on Asterisk 1.2.10 where when we get in in the morning it's continually rotating the logs over and over again, generating 100's of thousands of log rotated 0 byte files:- /var/logs/asterisk # find . -type f -maxdepth 1 | wc -l 176930 /var/log/asterisk # find . -type f

Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Filip Drągowski
check your cron jobs. mayby there is asterisk -rx logger rotate executing too often ? Hi, We're seeing a problem on Asterisk 1.2.10 where when we get in in the morning it's continually rotating the logs over and over again, generating 100's of thousands of log rotated 0 byte files:-

Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Kenny Millington
Filip Drągowski wrote: check your cron jobs. mayby there is asterisk -rx logger rotate executing too often ? Nope - nothing in crontab. Hi, We're seeing a problem on Asterisk 1.2.10 where when we get in in the morning it's continually rotating the logs over and over again, generating

Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Filip Drągowski
on 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

Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Kenny Millington
Filip Drągowski wrote: on 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 ? =

Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Filip Drągowski
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 }

Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Koen Van Impe
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 posiiblei create file in

Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Kenny Millington
Koen Van Impe wrote: I use logrotate too, because I didn't know of the functionality in Asterisk. Logrotate works fine for me though. Ok, I believe I see the problem here! I was told (apparently erroneously) that asterisk does rotation itself because they didn't rotate before and now they do.

Re: [asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

2006-07-28 Thread Martin Joseph
On Jul 28, 2006, at 6:33 AM, Kenny Millington wrote: Koen Van Impe wrote: I use logrotate too, because I didn't know of the functionality in Asterisk. Logrotate works fine for me though. Ok, I believe I see the problem here! I was told (apparently erroneously) that asterisk does rotation