I have removed the property hibernate.show_sql
from my EntityManager creation and want to replace it with a logging level. I am using java's logging facility.
As explained in this answer I should set the log level of org.hibernate.SQL.
I have tried it with my logging.properties, but it doesn't work:
handlers=java.util.logging.ConsoleHandler
org.hibernate.level=FINE
org.hibernate.SQL.level=FINEST
org.hibernate.type.level=FINER
I had also tried ALL, but it makes no difference.
What is wrong?