-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate Logging in JBoss server/xxx/conf/log4j.xml
PostPosted: Mon Apr 12, 2004 7:37 pm 
Beginner
Beginner

Joined: Sat Nov 22, 2003 3:54 pm
Posts: 42
I am using Hibernate as the persistence mechanism with JBoss 3.2.3 as the app server. But Hibernate is putting up a lot of log in the default file configured in the server/default/conf/log4j.xml file on the jboss app server. Its logging from the DEBUG level, so the log file is getting upto a size of 60-70MB in a day. How could i configure the log4j.xml file so that Hibernate only logs from the WARN level. What "category" do i have to put in this file for the Hibernate?

Any help will be highly appreciated.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 8:48 am 
Senior
Senior

Joined: Tue Nov 25, 2003 9:35 am
Posts: 194
Location: San Francisco
Code:
   <category name="net.sf.hibernate">
     <priority value="INFO"/>
   </category>


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 13, 2004 12:34 pm 
Beginner
Beginner

Joined: Sat Nov 22, 2003 3:54 pm
Posts: 42
Thanks sgwood. It wroked.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.