title: Glassfish - debug JDBC connection pool behavior
body: <p>If I have a JDBC connection pool (datasource) in Glassfish, is there a way I can log debugging info like when it creates a new connection vs. using a pooled one?  </p>
  
  <p>In particular I'm trying to troubleshoot the connection validation process, and not sure if that's causing new physical connections to be created.</p>
  
  <p>Thanks!</p>