On page 55 of the "Hibernate in Action", it said "Hibernate logs all interesting events using Apache commons-logging, a thin abstraction layer that directs output to either Apache log4j (if you put log4j.jar in your classpath) or JDK1.4 logging (if you're running under JDK 1.4 or above and log4j isn't present).
Is there a way to force Hibernate to use JDK 1.4 logging regardless if there si log4j jar in the class path)?
the reason for this is I am using Hibernate in a legarcy application, it uses an old log4j jar which Hibernate does not support. So i wonder if I can skip the upgrade of log4j.jar for Hibernate and make Hibernate ot use JDK1.4 logging instead.
Thank you.
|