Bug 27931 - logging directives incorrect
Summary: logging directives incorrect
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apacheconf
Version: 7.1
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: David Mason
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-16 04:29 UTC by Tammy Fox
Modified: 2007-04-18 16:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-16 04:29:19 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.