Re: Log Rotation

2011-12-08 Thread JAmes
AM *To:* users@kannel.org *Subject:* Log Rotation Hi, What the best way to rotate the logs without interrupting kannel and making bb, sqlbox etc still write to the logs? For example, if we move the log files, zip them, archive etc, bb doesnt create a new log file. Is there a better way

Re: Log Rotation

2011-12-08 Thread ha...@aeon.pk
*To:* users@kannel.org *Subject:* Log Rotation Hi, What the best way to rotate the logs without interrupting kannel and making bb, sqlbox etc still write to the logs? For example, if we move the log files, zip them, archive etc, bb doesnt create a new log file. Is there a better way? J

Re: Log Rotation

2011-12-08 Thread Joel Westerberg
: JAmes Sent: Thursday, December 08, 2011 12:49 AM To: users@kannel.org Subject: Log Rotation Hi, What the best way to rotate the logs without interrupting kannel and making bb, sqlbox etc still write to the logs? For example, if we move the log files, zip them, archive etc, bb

Re: Log Rotation

2011-12-08 Thread Joel Westerberg
: JAmes Sent: Thursday, December 08, 2011 12:49 AM To: users@kannel.org Subject: Log Rotation Hi, What the best way to rotate the logs without interrupting kannel and making bb, sqlbox etc still write to the logs? For example, if we move the log files, zip them, archive etc, bb doesnt

Re: Log Rotation

2011-12-08 Thread JAmes
:* Thursday, December 08, 2011 12:49 AM *To:* users@kannel.org *Subject:* Log Rotation Hi, What the best way to rotate the logs without interrupting kannel and making bb, sqlbox etc still write to the logs? For example, if we move the log files, zip them, archive etc, bb doesnt create a new

Re: Log Rotation

2011-12-08 Thread Joel Westerberg
Sent: Thursday, December 08, 2011 12:49 AM To: users@kannel.org Subject: Log Rotation Hi, What the best way to rotate the logs without interrupting kannel and making bb, sqlbox etc still write to the logs? For example, if we move the log files, zip them, archive etc, bb doesnt create

Re: Log Rotation

2011-12-08 Thread Milan P. Stanic
:* Log Rotation Hi, What the best way to rotate the logs without interrupting kannel and making bb, sqlbox etc still write to the logs? For example, if we move the log files, zip them, archive etc, bb doesnt create a new log file. Is there a better way? J No virus found

Re: Log Rotation

2011-12-08 Thread JAmes
- cesurasean google - cesuras...@gtalk.com msn - cesuras...@hotmail.com icq - 357464121 skype - cesurasean sip:cesuras...@ekiga.net *From:* JAmes jam...@gmail.com *Sent:* Thursday, December 08, 2011 12:49 AM *To:* users@kannel.org *Subject:* Log Rotation Hi, What

Re: Log Rotation

2011-12-08 Thread Milan P. Stanic
On Thu, 2011-12-08 at 16:00, JAmes wrote: That sounds good. So in fact we can use this logrotate method without loosing any SMS in the process? I'm using it for years on three different systems and I didn't lost single SMS because of this method for log rotation. J On Thu, Dec 8, 2011

Re: Log Rotation

2011-12-08 Thread mwamba chishimba
Hi Stanic, If I want to do log rotation every month what do I need to do? Kind Regards, On Thu, Dec 8, 2011 at 11:20 AM, Milan P. Stanic m...@arvanta.net wrote: On Thu, 2011-12-08 at 16:00, JAmes wrote: That sounds good. So in fact we can use this logrotate method without loosing any

Re: Log Rotation

2011-12-08 Thread Anthony Musaluke
...@gmail.com wrote: Hi Stanic, If I want to do log rotation every month what do I need to do? Kind Regards, On Thu, Dec 8, 2011 at 11:20 AM, Milan P. Stanic m...@arvanta.net wrote: On Thu, 2011-12-08 at 16:00, JAmes wrote: That sounds good. So in fact we can use this logrotate method

Re: Log Rotation

2011-12-08 Thread Abdul Basit
write this in crontab: 0 0 30 * * /usr/local/bin/log_rotate.sh this would run the script log_rotate.sh at midnight every 30th day of the month Anthony On Thu, Dec 8, 2011 at 4:09 PM, mwamba chishimba bamwa...@gmail.comwrote: Hi Stanic, If I want to do log rotation every month what do I

Re: Log Rotation

2011-12-08 Thread Milan P. Stanic
On Thu, 2011-12-08 at 16:09, mwamba chishimba wrote: Hi Stanic, My name is Milan, just to clarify. I'm not offended. :-) If I want to do log rotation every month what do I need to do? Change keyword 'daily' to 'monthly' in /etc/logrotate.d/kannel file is the simplest and best solution if you

Log Rotation

2011-12-07 Thread JAmes
Hi, What the best way to rotate the logs without interrupting kannel and making bb, sqlbox etc still write to the logs? For example, if we move the log files, zip them, archive etc, bb doesnt create a new log file. Is there a better way? J

Re: Log Rotation

2011-12-07 Thread ha...@aeon.pk
I do it by shutting down kannel, moving the existing log files manually (ziparchivemove to other location). On resuming kannel, bb creates all new files. Is there another better way? On Thu, Dec 8, 2011 at 11:49 AM, JAmes jam...@gmail.com wrote: Hi, What the best way to rotate the logs

per hour log rotation

2004-10-18 Thread Fritz Mesedilla
for the hourly log rotation. Is this safe that no log transactions will be lost? Thanks in advance. Fritz Mesedilla --- I always try to go the extra mile at work, but my boss always finds me and brings me back.

Re: per hour log rotation

2004-10-18 Thread James Coleman
script to tar.gz each log then send a killall -HUP bearerbox smsbox wapbox || true /dev/null 2 /dev/null? Sample: smsbox_20041018_1500.tar.gz I plan to use cron for the hourly log rotation. Is this safe that no log transactions will be lost? Thanks in advance. Fritz Mesedilla