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

message not logged to error_log if directory exists in place of a log file 
specification

           Summary: message not logged to error_log if directory exists in
                    place of a log file specification
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I couldn't get httpd to start, and I couldn't figure out why, since all it would
tell me is that httpd failed.  Nothing was logged to the error_log file, even
when I set LogLevel to debug.  I narrowed the problem down to this:  I had a
directory called combined_log created where there should have been a file called
combined_log.  I.e, in httpd.conf, I had the following

<VirtualHost 10.0.0.11>
ServerName www.ethos.org
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/ethos
CustomLog    /home/ethos/logs/combined_log combined
ErrorLog     /home/ethos/error_log
TransferLog  /home/ethos/logs/access_log
</VirtualHost>

and when I did an ls -l in /home/ethos/logs  I got
[EMAIL PROTECTED] conf]# cd /home/ethos/logs
[EMAIL PROTECTED] logs]# ls -l
total 232
-rw-r--r--    1 ethos    ethos       53042 Jul 30 00:44 access_log
drwxr--r--    1 ethos    ethos        4096 Jul 29 20.55 combined_log/
-rw-rw-r--    1 root     root         5133 Jul 23 20:52 ctry_usage_200207.png
-rw-rw-r--    1 root     root         2843 Jul 23 20:52 daily_usage_200207.png
-rw-r--r--    1 ethos    ethos       45136 Jul 30 13:31 error_log
-rw-rw-r--    1 root     root         1924 Jul 23 20:52 hourly_usage_200207.png
drwxr-xr-x    3 ethos    ethos        4096 Apr  4  2000 html/
-rw-rw-r--    1 root     root         3728 Jul 23 20:52 index.html
-rw-rw-r--    1 root     root        86968 Jul 23 20:52 usage_200207.html
-rw-rw-r--    1 root     root         2139 Jul 23 20:52 usage.png
-rw-rw-r--    1 root     root           35 Jul 23 20:52 webalizer.hist

It was somewhat painful to track this error down as no error message
was created in error_log and I have many virtual hosts.  Thanks for looking 
into it.

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

Reply via email to