Bug 27931 - logging directives incorrect
logging directives incorrect
Product: Red Hat Linux
Classification: Retired
Component: apacheconf (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: David Mason
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-02-15 23:29 EST by Tammy Fox
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-15 23:29:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tammy Fox 2001-02-15 23:29:16 EST
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-15 23:59:14 EST
My bad - /etc/httpd/logs is a symbolic link to /var/log/httpd. :-) Sorry about

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