We have added the P6Spy JDBC wrapper to our monolith application to help pinpoint slowly running JPA queries.
The current format the P6 formats a log message is like