httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ondrej Sury <>
Subject Re: Pluggable mod_log_config
Date Mon, 03 Oct 2005 12:46:58 GMT
On Mon, 2005-10-03 at 07:58 -0400, Brian Akins wrote:
> mod_log_config is "pluggable."   You can "replace" the normal logging 
> functions quite easily.

The word here is _replace_.  If you "replace" ap_log_writer and
ap_log_writer_init you need to implement all types of logging inside

Imagine this type of config:
--cut here--
  CustomLog mysql://blah/data common


  CustomLog $apache#1 combined # mod_log_spread syntax


  CustomLog /var/log/apache2/access.log

--cut here--

Then your replacement function would have to implement all those types
of log backends (ie. logging to mysql, spread, and files).  So you
cannot just easily add support for just another log backend.

Even now when you want to make some log files buffered and some not you
are out of luck and this could also be solved by making plugging more

Ondrej Sury <>

View raw message