-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate logging (and spring) in Websphere App Server
PostPosted: Wed Sep 29, 2004 4:39 pm 
Senior
Senior

Joined: Tue Aug 03, 2004 2:11 pm
Posts: 142
Location: Somerset
I've spent ages trying to work out what was happening to hibernate logging output, when running hibernate apps under Websphere.

Essentially this is because IBM have their own Commons Logging compliant logger, which is what Hibernate gets given when it asks for a Logger from the LogFactory.

So, in order to see any Hibernate logging, you either have to indulge in a fair amount of work reconfiguring Websphere to use something other than its own logger (i.e. Log4J), which you can then configure yourself, or use the Websphere Admin console to configure its internal logging to show Hibernate logging.

It's all explained very well here:

http://www.webspherepower.com/issuespri ... 01281.html

Maybe this should be added to the FAQ (shoot me if it already is!)

_________________
On the information super B road


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

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.