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? -

java - How to implement an entity bound odata action in olingo v4.3 -