tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yoav Shapira <yo...@apache.org>
Subject Re: New Valve Development
Date Wed, 02 Nov 2005 21:34:01 GMT
Tom,
You have emailed the right list.  Thank you for your contribution, which I'm
sure you find useful.

I am biased against adding any more Valves to Tomcat at the moment, because I
would actually like to do away with the Valve mechanism altogether in favor of
the standards-compliant and portable javax.servlet.Filter approach.  I know
Valves are faster in general, but still, it seems like an over-engineered bit
of Tomcat that I'd like to see go away in the long run.

Accordingly, I don't want to put this into Tomcat proper at this time. 
Instead, I'd love to see it in Filter form instead of Valve form: that would be
awesome.

Thanks,

Yoav

  

--- "Tom E. Cole" <tcole@lamatek.com> wrote:

> I have developed a new Valve (which I call the DBAccessLogValve). It is
> similar to the AccessLogValve, other than it logs values to a database
> table rather than writing it to a log file. Many of the configuration
> options are exactly the same as the standard AccessLogValve, with three
> major exceptions:
>  
> 1.	It can be configured to use DBCP or the user can provide
> connection information
> 2.	In addition to setting up a comma separated list of values to
> log, they provide a comma-separated list of column names that
> correspond.
> 3.	The user can configure what file types they want logged (for
> example only .htm and .jsp files).
>  
> It has javadocs and is bundled in a single .jar which currently has to
> be dumped in the %TOMCAT_HOME%/server/lib directory.
>  
> Someone on the Java Forums recommended contributing it to the Tomcat
> project, but I'm not sure how to do that. If this is of interest or
> someone knows how to contribute this, the information would be greatly
> appreciated.
>  
> Tom Cole
> LAMATEK, Inc.
> (856) 599-6000 ext. 119
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 
> 


Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management
Cambridge, MA, USA
yoavs@computer.org / www.yoavshapira.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message