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=10844>.
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=10844

httpd -t should test for logging directory

           Summary: httpd -t should test for logging directory
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: [EMAIL PROTECTED]


A few times on several boxes I've added a new virtual host and setup logging for
that vhost with the logging target in a directory that doesn't exist.  I would
then do something like apachectl graceful or restart and apache would choke.

I think that httpd -t and -T should check if the directory of the target log
exist , if not error out and say something useful.  I know in the error_log it
says: [error] (2)No such file or directory: could not open transfer log file
<logfile> if the transfer log doesn't exist, but it dies with the following when
the error log doesn't exist: fopen: No such file or directory
httpd: could not open error log file <error log>.

I can't imagine that I'm the first person that this has happened to.  Is there
any reason this hasn't been added already, or is there something I'm missing?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to