Not if you have that line in your logrotate.conf (which should be standard)

# packages drop log rotation information into this directory
include /etc/logrotate.d

And you have to run logrotate DAILY BY A CRONJOB with the CONFIG-FILE
AS ARGUMENT as the CORRECT USER  (in capital letters 3 common
*arrgh*-mistakes :-) )

Regards
Falko

2008/7/2 Tushar Chauhan <[EMAIL PROTECTED]>:
> Hi,
>
>        I did the same thing but it didn't work ...
>        Do I need to make some changes in logrotate.conf file also?
>
> Regards
> Tushar
>
>
>
> -----Original Message-----
> From: Falko Ziemann [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 02, 2008 3:54 PM
> To: Tushar Chauhan
> Cc: [email protected]
> Subject: Re: logrotater configuration for kannel.
>
> Works good:
>
> :/etc/logrotate.d$ cat kannel
> /var/log/kannel/*.log {
>        daily
>        missingok
>        rotate 365
>        compress
>        delaycompress
>        notifempty
>        create 640 kannel adm
>        sharedscripts
>        postrotate
>                killall -HUP bearerbox smsbox wapbox > /dev/null 2>
> /dev/null || true
>        endscript
> }
>
>
> 2008/7/2 Tushar Chauhan <[EMAIL PROTECTED]>:
>> Hi all,
>>
>>
>>
>>             I am using kannel 1.4.1 and I have to create log files on
> daily
>> basis. Can any one help me with this. I went through the documentation of
>> logrotater for kannel. I did as it was in kannel documentation but with no
>> results. Plz help me with this.
>>
>>
>>
>>
>>
>> Regards
>>
>> Tushar
>
>

Reply via email to