httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wagner, Aaron" <aaron.wag...@bankofamerica.com>
Subject RE: [users@httpd] rotatelogs on Windows
Date Wed, 05 Oct 2005 16:48:31 GMT
This is a line from my production server httpd.conf.  It rotates daily.

CustomLog "|D:/WebCore2/Apache2/bin/rotatelogs.exe
D:/WebCore2/Apache2/logs/history/commonLog.%Y-%m-%d-%H_%M_%S.log 86400
-300" combined


Thanx
Aaron N Wagner
Monitoring Systems and Network Tools
CCO-Command Center Operations
804.515.6298
 

> -----Original Message-----
> From: William A. Rowe, Jr. [mailto:wrowe@rowe-clan.net] 
> Sent: Wednesday, October 05, 2005 12:38 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] rotatelogs on Windows
> 
> James Tu wrote:
> > I'm trying to edit my httpd.conf to use rotatelogs for 
> Apache running on 
> > Windows.
> > 
> > I'm doing this and it doesn't like it.
> > CustomLog "| bin/rotatelogs logs/access.log 3600" common
> 
> Did you mean bin/rotatelogs.exe ?
> 
> If that doesn't lick it, what about using 'bin\rotatelogs.exe'?
> 
> This might be a very odd case where a shell command's shell 
> doesn't like
> forward slashes (cmd.exe is picky).  I've actually worked out how to
> nest double quotes at one point, so that the command was 
> quoted (useful
> for paths-in-spaces and forward slashes.)
> 
> cmd.exe likes "c:/winnt/notepad.exe" or c:\winnt\notepad.exe 
> and doesn't
> like c:/winnt/notepad.exe.
> 
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message