[Bug 507616] [NEW] CustomLog directive in apache2.conf makes it impossible to change default logging without editing the global config.

Lawren Quigley-Jones lawrenqj at gmail.com
Thu Jan 14 19:38:02 GMT 2010


Public bug reported:

Binary package hint: apache2

Ubuntu Karmic
apache2 - 2.2.12-1ubuntu2.1

The following line in apache2.conf is a global, un-editable configuration:
     CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined

In hardy logging was configured in the default site configuration.  By
adding this configuration line it becomes impossible to change or
disable the default logging behavior without editing apache2.conf .

I install a standard apache configuration file into /etc/apache2/conf.d/
which configures apache to log to syslog.  In hardy this config file
overrides the global behavior, but this does not seem to be possible in
Karmic.  Documentation I've read suggests that CustomLog declarations
within a virtualhost will override global declarations, but multiple
CustomLog declarations are complementary.

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
CustomLog directive in apache2.conf makes it impossible to change default logging without editing the global config.
https://bugs.launchpad.net/bugs/507616
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.



More information about the Ubuntu-server-bugs mailing list