>The second arg to rotatelogs provided with Apache is the number of seconds
>after which the log gets rotated. So the above command rotates logs every
>5 seconds.
>
>Joost
The synpsis is
rotatelogs [ -l ] logfile [ rotationtime [ offset ]] | [ filesizeM ]
so you can only use it with seconds o
Nehal Sangoi wrote:
> Hi
>
> I tried this option. But it is working differently then what i am thinking
> for.
>
> I did follwoing entries in my httpd.conf file.
>
> CustomLog "|/appl/apache/bin/rotatelogs /appl/apache/logs/mod_jk.log 5M"
The second arg to rotatelogs provided with Apache is the nu
Hi, I am also having the problem in rotatelogs for errorlogs. In this case, Unless giving it as Errorlog "|C:/app2/bin/rotatelogs.exe C:/log/log123 1M" it does not work. Means it requires to absolute path. But if I give Errorlog logs/apache.log then it works, and if the directory
Original Message-
From: Schaudt, Oliver [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 08, 2006 1:38 PM
To: [EMAIL PROTECTED]
Subject: AW: [EMAIL PROTECTED] RotateLogs in Apache 2.0
look at
http://httpd.apache.org/docs/2.0/programs/rotatelogs.html
there is a example
CustomLog "|
Try logrotate:
http://iain.cx/src/logrotate/
On 2/8/06, Nehal Sangoi <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB.
> What commands would work to carry out the reqd. job?
>
> Thanks
> Nehal
>
>
> --
Hi
I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB.
What commands would work to carry out the reqd. job?
Thanks
Nehal
-
The official User-To-User support forum of the Apache HTTP Server Project.
See