I'm writing a DataSource implementation (it is a connection pool manager that works with a ConnectionPoolDataSource "a la"
JDBC 2.0 Optional Extension Spec). I was hoping there would be an easy way for people to direct my DataSource to log to the servlet container's logger. However, if you're right, I have no idea how I'll do that. But it seems there must be a way because otherwise, everyone's going to have a different log file for every component plugged in to the container - ugh.