Monday, July 2, 2012

Hibernate: Capturing Log Entries Under Log4J

Ever since Hibernate migrated to SLF4J, debug entries from within Hibernate no longer shows up in Log4J log files by default.

In order to see Hibernate log entries in the Log4J log files, you'll need to include the "slf4j-log4j12-1.6.4.jar" file into the classpath.

No comments:

Post a Comment