After exploring Hibernate for the last few days, I've decided to replace our current persistence mechanism with Hibernate. All seems wonderful, so far, apart from the size of the log files (Log4J). Hibernate is logging everything, which is quite too much for us, although useful for troubleshooting.
Could somebody please tell me how to disable some of the Hibernate log categories?
Many thanks in advance. Ambrose
posted 11 years ago
Please locate your log4j.xml file a search log appenders for hibernate classes. There you change logging level to higher lever (for example WARN or ERROR).