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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -