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" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Yoav Shapira System Design and Management Fellow MIT Sloan School of Management Cambridge, MA, USA [EMAIL PROTECTED] / www.yoavshapira.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]