[Issues] [mod_log_sql 0000024]: Backport "V" log format directive to log requested hostname

issues at outoforder.cc issues at outoforder.cc
Wed Feb 2 20:58:32 EST 2005


A NOTE has been added to this issue.
======================================================================
<http://issues.outoforder.cc/view.php?id=24> 
======================================================================
Reported By:                brandon_barkley
Assigned To:                urkle
======================================================================
Project:                    mod_log_sql
Issue ID:                   24
Category:                   Feature Request
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Apache Version:             unspecified
======================================================================
Date Submitted:             01-31-2005 10:18 EST
Last Modified:              02-02-2005 20:58 EST
======================================================================
Summary:                    Backport "V" log format directive to log requested
hostname
Description: 
We would like the feature that allows you to specify the "V" log format
directive to get the requested hostname into the virtual_host field
instead of "ServerName". We use apache 1.3, and we would like to stick
with the 1.18 stable release at least until 2.0 is released, but we really
need this feature.
======================================================================

----------------------------------------------------------------------
 urkle - 02-02-05 20:58 
----------------------------------------------------------------------
I've attached a diff file to apply to mod_log_sql.c from the 1.18
distribution that will add Vhost logging (the 'V' switch).
Just:
 patch -p0 < vhost.diff
from the mod_log_sql source directory and recompile (make dso)


This works exactly like it does in mod_log_sql 2.0 and mod_log_config from
the core apache.  and it is Mutually exclusive to the lowercase 'v'.. Ie
only one or the other may be specified in a virtual host.

Let me know if you have any problems getting it working.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-31-05 10:18 brandon_barkleyNew Issue                                    
01-31-05 10:18 brandon_barkleyApache Version            => unspecified     
02-02-05 01:05 urkle          Status                   new => assigned     
02-02-05 01:05 urkle          Assigned To               => urkle           
02-02-05 20:56 urkle          File Added: vhost.diff                       
02-02-05 20:58 urkle          Note Added: 0000032                          
======================================================================




More information about the Issues mailing list