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 2002/10/08 14:52:30 UTC
DO NOT REPLY [Bug 13404] New: -
RotateLog and ErrorLog don't work with each other on first startup
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13404>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13404
RotateLog and ErrorLog don't work with each other on first startup
Summary: RotateLog and ErrorLog don't work with each other on
first startup
Product: Apache httpd-2.0
Version: 2.0.42
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Other Modules
AssignedTo: bugs@httpd.apache.org
ReportedBy: cfranke@harlingen.tstc.edu
I've found that in Apache 2.0.42 and Apache 2.0.43 for Win32, the following
directive for my error logs will not work the very first time I start the
server:
ErrorLog "|bin/rotatelogs.exe path_to_apache_logs/log_error 604800"
Instead I have to replace it with the following directive,
ErrorLog logs/error.log
start the server, stop the server and then replace it with the directive to
actually rotate the log files.
Using rotate logs on the Errorlog directive worked fine under Apache 2.0.40,
however under 2.0.42 and 2.0.43, the server throws back an error about not
being able to create the error log and then shuts down unless I do what I
mentioned above.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org