httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Peelman" <>
Subject Re: [users@httpd] Re: piping logs in apache2.2 on windows 2003/XP
Date Thu, 25 Jan 2007 23:23:56 GMT
>----- Original Message ----- 
>From: sai koduri 
>Sent: Thursday, January 25, 2007 2:09 PM
>Subject: RE: [users@httpd] Re: piping logs in apache2.2 on windows 2003/XP
>  Alex/Norm,
>First of all thanks for your response
>I used the following in httpd.conf file, 
>ErrorLog "| C:/PROGRA~1/APACHE~1/Apache2/bin/rotatelogs.exe 
>C:/PROGRA~1/APACHE~1/Apache2/logs/error.log 300"
>I restarted apache server, I see it is creating errorlog file as 
>error.log.1169239200 during start up and it is not piping the log file for 
>every 5 min
>We are using two virtual hosts in vhost.conf where I commented out the 
>loging part for now to see if I put only in httpd.conf it works.

Ok,  first of all, is that the first log file you see and then you say it won't create a new
log file every 5 mins?  RotateLogs.exe is in charge of the logfile now so it will only write
to the logfile (or create a new one) when there is an error. If everything is running smooth
on your server you may not see a logfile every five minutes, let alone every day. I have mine
set for 86400 (one day) and have 'skippped logfiles' on days that had no errors.  Basically
you need to just 'let it run' or just to prove it's working set it to 10 seconds and then
make requests that generate output to the logfiles. This is really easier to do with the access.log
but if it's working there then it's working for the error.log too (this is what I did).

FREE Avatar hosting at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message