>----- Original Message ----- >From: sai koduri >To: users@httpd.apache.org >Sent: Thursday, January 25, 2007 2:09 PM >Subject: RE: [EMAIL PROTECTED] 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. > > >Thanks >sai >
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). Norm --- FREE Avatar hosting at www.easyavatar.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]