Bug 27931

Summary: logging directives incorrect
Product: [Retired] Red Hat Linux Reporter: Tammy Fox <tammy.c.fox>
Component: apacheconfAssignee: David Mason <dcm>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-16 04:29:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tammy Fox 2001-02-16 04:29:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.1-tcf i686)


The tranfer log is not written to the same place that appears in the GUI
and the default transfer log location is not written to httpd.conf.

Reproducible: Always
Steps to Reproduce:
1.Use apacheconf to configure transfer log file
2.Look at the httpd.conf file
3.Access the server
4.View the location of the transfer log file to see where it is putting it
	

Actual Results:  In apacheconf under Virtual Hosts=>Edit Default Settings,
it says the transfer log should be written to logs/access_log (This should
be relative to the ServerRoot so this translates to
/etc/httpd/logs/access_log.). However, there is not TransferLog directive
outside the Virtual Host directives. There is "CustomLog
/var/log/httpd/access_log common" set as the default. I then set the
default Virtual Host transfer log file to /etc/httpd/logs/access_log-test,
restarted httpd, accessed the server, and the transfer was written to
/etc/httpd/logs/access_log-test AND /var/log/httpd/access_log-test. The
TransferLog directive under the default virtual host was written correctly.

Expected Results:  /var/log/httpd/access_log should not be the default log
file location. It should be /etc/httpd/logs/access_log by default. ErrorLog
should not be set to /var/log/httpd/error_log. It should be
/etc/httpd/logs/error_log by default (unless reconfigured in the GUI).

Using latest version out of CVS.

Comment 1 Tammy Fox 2001-02-16 04:59:14 UTC
My bad - /etc/httpd/logs is a symbolic link to /var/log/httpd. :-) Sorry about
that.