> Dear all
>
> I wrote a simple database logger, most of it based on the regular
> AccessLogValve that comes with tomcat. Could you please check the code
> and make suggestions for improvement?
The code looks good. The only problem I can think is that it probably needs
syncing (two simultaneous requests could fight over the prepared statement,
which would result in corrupted log entries).
I'll fix the tabs, set the header, and commit it, and we can improve it
then.
Thanks for the contribution :)
> Could it be included in the standard tomcat distribution?
Yes, that looks useful, so we can do that.
Remy
--
To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
|