You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Terry Burton <te...@terryburton.co.uk> on 2006/04/09 22:55:28 UTC

[users@httpd] Global and virtual host log configuration

Just bumping this because I've yet to find a satisfactory solution.

If no solution exists, is this worth forwarding to the devs?


Thanks!

Tez

---------- Forwarded message ----------
From: Terry Burton <te...@terryburton.co.uk>
Date: Mar 24, 2006 11:40 AM
Subject: Global and virtual host log configuration
To: users@httpd.apache.org


Hi,

I am running hundreds of virtual hosts on httpd server and each
virtual host successfully writes its own access log file to an
appropriate place.

In addition to these virtual host logs, I would also like to generate
a global access log to a pipe (for logging to MySQL). Adding an
additional CustomLog directive to each virtual host launches a logger
program (attached to the pipe) for _each_virtual host_ which is
unacceptable.

In a typical configuration httpd overrides the main CustomLog settings
with those found in virtual hosts. What I need is a way to specify the
main CustomLog such that it is not overridden, but rather
complemented, by further CustomLog directives in the virtual hosts.
This way I have a _single_pipe_logger_ capturing everything, as well
as the usual virtual host log files.

Hope you can help.


Thanks,

Tez

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org