When I add this dependency to my project, all database queries are being logged as debug.
...
17:27:37.119 [main] DEBUG org.hibernate.SQL - select //... some query
17:27:37.120 [main] DEBUG o.h.l.p.e.p.i.ResultSetProcessorImpl - Preparing collection intializer : //... details
17:27:37.120 [main] DEBUG o.h.l.p.e.p.i.ResultSetProcessorImpl - Starting ResultSet row #0
17:27:37.120 [main] DEBUG o.h.l.p.e.p.i.CollectionReferenceInitializerImpl - Found row of collection: //... details
17:27:37.120 [main] DEBUG o.h.l.p.e.p.i.ResultSetProcessorImpl - Starting ResultSet row #1
...
...