No Logs generated for hibernate when using log4j, slf4j and jcl jars

Recently we faced an issue while upgrading to the latest version 5.0.1 for poi.

And we ended up having following jars for logging all logs to log4j

  1. log4j-slf4j-impl-2.14.0.jar
  2. jcl-over-slf4j-1.7.30.jar
  3. slf4j-api-1.7.30.jar
  4. log4j-api-2.14.0.jar
  5. log4j-core-2.14.0.jar
  6. log4j-web-2.14.0.jar

We use hibernate in our web application. And hibernate needs slf4j for logging. 

With our update the hibernate logs are no more logged. If anyone has same issues do let me know in comments.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.