You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/11/13 15:28:13 UTC
DO NOT REPLY [Bug 32224] New: -
rotatelogs.exe does not rotate file
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32224>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32224
rotatelogs.exe does not rotate file
Summary: rotatelogs.exe does not rotate file
Product: Apache httpd-2.0
Version: 2.0.52
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Other Modules
AssignedTo: bugs@httpd.apache.org
ReportedBy: hatfield@uga.edu
We use rotatelogs to rotate the files daily, rather we used to. Under 2.0.52
the date-stamped logfile that is created when apache starts is the one that
stays in use until apache is cycled. Also, we have 11 virtual sites that we log
based on env settings, for some reason this is causing 22 rotatelogs processes
to start when apache launches rather than 11 cmd.exe and 11 rotatelogs.exe
processes that we used to see when things functioned properly.
An example from our httpd.conf is as follows:
SetEnvIf Request_URI "SITE1" SITE1
CustomLog "|bin/rotatelogs.exe logs/SITE1/%Y-%m-%d-SITE1_access.log 5M" combined
env=SITE1
I'm not sure if this is a bug or a change in rotatelogs usage that I've missed
in the documentation, it used to be that with %Y-%m-%d in the filename a new
file would be created when the first request hit after midnight.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org