-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Use JDK 1.4 logging instead of log4j
PostPosted: Fri Feb 25, 2005 2:07 pm 
Beginner
Beginner

Joined: Fri Mar 12, 2004 5:18 pm
Posts: 44
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 25, 2005 2:24 pm 
Beginner
Beginner

Joined: Fri Mar 12, 2004 5:18 pm
Posts: 44
I think I find the answer.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.