RE: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Oliver.Schaudt
>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

RE: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Joost de Heer
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

RE: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Sheetal D
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

RE: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Nehal Sangoi
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 "|

Re: [EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-08 Thread Victor Trac
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 > > > --

[EMAIL PROTECTED] RotateLogs in Apache 2.0

2006-02-07 Thread Nehal Sangoi
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