Re: [Asterisk-Users] logrotate and logger reload

2006-06-10 Thread Noah Miller
I ran into the strange problem that a totally non-asterisk log went over the 2GB limit (yes, still using 32-bit OS) so the system sent a SIGXFSZ signal. Even though it wasn't an asterisk log, asterisk responded to the signal and went into the log rotation loop anyway. I killed logging on the

[Asterisk-Users] logrotate and logger reload

2006-06-09 Thread Bob Knight
I have one system that went totally crazy on me. It went into an infinite loop rotating * message and log files. From the asterisk console I kept seeing the message about re-loading logger.conf over and over and it just kept creating more and more files. I baby set many different * boxes all

Re: [Asterisk-Users] logrotate and logger reload

2006-06-09 Thread Matt Florell
Welcome to the club. That drove me crazy for a few hours one day until I realized that the Master.csv in cdr-custom was being written to(and not being rotated by anything) even though I never enabled it in the logger.conf. I added it to my rotate script and all is fine now. MATT--- On

Re: [Asterisk-Users] logrotate and logger reload

2006-06-09 Thread Richard Lyman
# This script asks asterisk to rotate its logs on its own. postrotate /usr/sbin/asterisk -rx logger rotate endscript is what we use and it seems to be just fine. (logger reload reopens the log files, where logger rotate, rotates then then reopens) Matt Florell wrote: Welcome

[Asterisk-Users] Logrotate

2005-06-30 Thread Brian C. Fertig
I created some scripts to logrotate. I am having a problem. After I do it, I am sending kill -HUP to the process its not using the newly created messages file again. Could someone help me out with how I can rotate asterisk's log's without killing the process?

RE: [Asterisk-Users] Logrotate

2005-06-30 Thread Geoff Manning
Could someone help me out with how I can rotate asterisk's log's without killing the process? Does restarting the syslog service help? # service syslog restart or # /etc/init.d/syslog restart ___ Asterisk-Users mailing list

Re: [Asterisk-Users] Logrotate

2005-06-30 Thread Eric Wieling aka ManxPower
Geoff Manning wrote: Could someone help me out with how I can rotate asterisk's log's without killing the process? Does restarting the syslog service help? # service syslog restart or # /etc/init.d/syslog restart Asterisk doesn't use syslog by default. Try running: asterisk -rx logger

RE: [Asterisk-Users] Logrotate

2005-06-30 Thread Brian C. Fertig
:[EMAIL PROTECTED] On Behalf Of Geoff Manning Sent: Thursday, June 30, 2005 10:30 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Logrotate Could someone help me out with how I can rotate asterisk's log's without killing the process? Does restarting

Re: [Asterisk-Users] Logrotate

2005-06-30 Thread Hilton Williams
: [Asterisk-Users] Logrotate I created some scripts to logrotate. I am having a problem. After I do it, I am sending kill -HUP to the process its not using the newly created messages file again. Could someone help me out with how I can rotate asterisk's log's without killing the process? ..o

RE: [Asterisk-Users] Logrotate

2005-06-30 Thread Brian C. Fertig
30, 2005 10:47 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Logrotate Hi [EMAIL PROTECTED] uses the following file: /var/log/asterisk/*log { missingok rotate 5 weekly create 0640 asterisk asterisk postrotate /usr/sbin/asterisk

RE: [Asterisk-Users] Logrotate

2005-06-30 Thread Geoff Manning
Asterisk doesn't use the syslog daemon tho does it? I thought it did internal logging to a file. My mistake, you are correct (both of you actually!) ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com

Re: [Asterisk-Users] Logrotate

2005-06-30 Thread Dave Cotton
On Thu, 2005-06-30 at 16:47 +0200, Hilton Williams wrote: Hi [EMAIL PROTECTED] uses the following file: snip On Mandriva I've got a file called asterisk in /etc/logrotate.d which contains:- var/log/asterisk/event_log /var/log/asterisk/queue_log /var/log/asterisk/messages