Prevent hibernate from throwing data into the logs

I am using JPA +Hibernate + Spring Boot for my applications. Hibernate is logging exception with stacktrace in my log file. I want to stop that and write my own error log without the stacktrace. Is there a setting in the hibernate config file to turn it off. I don’t really want to create an appender for hibernate in my log4j config and log them seperately I just want to turn off.