Re: Logrotate.d

2007-10-10 Thread seik
/usr/bin/cp log.file. log.file.$(/usr/bin/date +%Y-%m-%d.%H.%M.%S); /usr/bin/echo $(/usr/bin/date) log.file -Original Message- From: Rolandow [EMAIL PROTECTED] Sent: 10 2007 ?. To: seik Subject:Logrotate.d Hi All, Could somebody post his (working) logrotate.d script?

Re: Logrotate.d

2007-10-10 Thread Rolandow
Hi Seik, I assume I have to run this in my crontab? What I don't understand is why Kannel isn't writing to the logs anymore. Is it because it is empty? Also, under which user should I do this? I'd appreciate a little more explenation, so I can understand what's happening. Thanks! Kind

RE: Logrotate.d

2007-10-10 Thread Peter Lum
Hi I am interested in doing this as well. Is there a step-by-step guide on this? Is it using crontab? What is killall-HUP? Thanks! Peter _ From: Rolandow [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 5:53 PM To: users@kannel.org Subject: Re: Logrotate.d I already

Re: Logrotate.d

2007-10-10 Thread Rolandow
I already found it... it was the killall -HUP that I didn't do, that's because it didn't work. Thanks! Rolandow wrote: Hi Seik, I assume I have to run this in my crontab? What I don't understand is why Kannel isn't writing to the logs anymore. Is it because it is empty? Also, under which

[Fwd: Re: Logrotate.d]

2007-10-10 Thread Djiby SY
---BeginMessage--- Hi Rolandow, Here is my logrotate.d script for kannel log files /your_path/kannel.log /your_path/sqlbox.log /your_path/smsbox.log { daily missingok rotate 100 size=50M compress delaycompress olddir /your_path/oldlogs

Re: Logrotate.d

2007-10-10 Thread Djiby SY
Hi Rolandow, Here is my logrotate.d script for kannel log files /your_path/kannel.log /your_path/sqlbox.log /your_path/smsbox.log { daily missingok rotate 100 size=50M compress delaycompress olddir /your_path/oldlogs notifempty create 640

RE: Logrotate.d

2007-10-10 Thread info.ubichip
_ From: Djiby SY [mailto:[EMAIL PROTECTED] Sent: mercredi 10 octobre 2007 02:21 To: Rolandow Cc: users@kannel.org Subject: Re: Logrotate.d Hi Rolandow, Here is my logrotate.d script for kannel log files /your_path/kannel.log /your_path/sqlbox.log /your_path/smsbox.log { daily

Re: Logrotate.d

2007-10-10 Thread Mihai Zsigmond
, October 10, 2007 9:26 PM Subject: RE: Logrotate.d Whatever your log rotate size is, you will have to « hold » kannel in order to change the destination of the log. I am making a log rotate each day for convenient archive, I suggest you not to have to much big log file in order not to slow