My Spring Boot application keeps showing Hibernate queries in the console despite having configured Hibernate\'s specific logging with Logback as follows:
&l
I just wanted to share that I just noticed there is another setting which could cause org.hibernate.SQL to debug in Spring Boot JUnit tests, though you might have set
spring.jpa.show-sql=false
and
spring.jpa.properties.hibernate.show_sql=false
...
If you set
debug=true
in your Spring application*.properties file!
This one set to true will override the show-sql setting and set it to true.
Brgds