I am using Spring Boot 2.7.0, and I used the Log4JDBC dependency to log queries with its parameters.
I added the dependency to build.gradle implementation 'ru.vasiand:spring-boot-starter-log4jdbc:1.1.0'
I added the configuration in application.yaml log4jdbc: auto: load: popular: drivers: false dump: sql: maxlinelength: 0 addsemicolon: false trim: sql: extrablanklines: false
I cannot see any logs for Log4JDBC what I see is hibernate logs select name from users u where u.username=?
what I except is find ready to run query like select name from users u where u.username='username'
I tried to change the version of the dependency to 2.0.0, but it did not work.