If all you want is better logging, why not use something like log4jdbc?
http://code.google.com/p/log4jdbc/
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4197709#4197709
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4197709
Thanks. This looks pretty interesting. However, we are trying to track down
an issue where we are getting too many connections opened. We want to log when
gets and puts to the connection pool happen.
View the original post :
The connection pool mbean is generated automatically when the *-ds.xml file is
parsed, so you might be better off modifying the existing one than trying to
wrap or replace it. I think that the connection pool manager is in the source
at