Logging SQL statements in Spring Boot + jdbi -


i'm using datasource dbi:

@autowired datasource datasource;  @bean public dbi dbibean() {     dbi dbi = new dbi(datasource);     return dbi; } 

i have no idea how configure logging framework log sql statements. tried:

logging:  level:     org.hibernate: trace    org.skife.jdbi: trace    java.sql: trace 

but doesn't work.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -