You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2001/01/26 21:03:57 UTC

Logs in the global versus vhost scope

Making trouble again..

Currently both access- and error-logs in the global scope
are wholly superseded by any within a <VirtualHost> container.
That is, if a vhost doesn't include an access log, any defined
in the global scope will be used; if the vhost has *any* access
logs defined, *none* of those in the global scope will be used.
Likewise for the error logs.

Does anyone else think it occasionally might be nice to have
the ability to have a copy of *all* logged activity in a single
file, but also broken out for individual vhosts?  That is, log
to *both* the vhost-specific *and* any globally-defined logfiles?

I could see that being useful to Web hosting companies; give
each customer their own CustomLog for their vhost, but also
log *all* traffic to a single file showing all activity
server-wide..

Just curious.. the occlusion situation in logging has always
bothered a little bit.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>