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
Post a Comment