jgallimore opened a new pull request #583: Add logging and very rudimentary 
connection leak detection to the dbc…
URL: https://github.com/apache/tomee/pull/583
 
 
   …p BasicManagedDataSource.
   
   With this PR, if you add the following to your `logging.properties`:
   
   ```
   java.util.logging.ConsoleHandler.level = FINEST
   OpenEJB.resource.jdbc.level = FINEST
   ```
   
   This will output, complete with stacktrace, everywhere a managed connection 
is created, and everywhere it is closed. Its quite verbose and will generate a 
lot of log output.
   
   Additionally, with the `OpenEJB.resource.jdbc` level set to FINEST, the 
ManagedConnection will also track where it is created, so it can both be logged 
out at the end of a transaction, and this should also show up in a heap dump as 
well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to