Disabling Hibernate log messages in a Spring application

If you're using it, you might need to set <property name="show_sql">false</property> in your hibernate configuration file.


If anyone looks up this question while browsing for answers:

IF you are using spring-boot-starter-data-jpa, set spring.jpa.show_sql = false in your application.properties file.


Complementing Jørgen Skår Fischer's answer, in my specific case I had to add both settings in the application.properties file.

spring.jpa.show-sql=false 

and

spring.jpa.properties.hibernate.show_sql=false