-->
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: How to forbid display WARN information?
PostPosted: Sun Dec 20, 2009 10:00 pm 
Newbie

Joined: Mon Feb 18, 2008 10:44 am
Posts: 10
When I use Hibernate under tomcat,sometimes hibernate may display WARN information under tomcat console,for example

Code:
29063 [http-5168-1] WARN org.hibernate.jdbc.AbstractBatcher - exception clearing
maxRows/queryTimeout
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]optional function not implement


I don't want to display Hibernate WARN information under tomcat console. How to configure hibernate file to realize forbidding Hibernate WARN information? Which hibernate configure file can I modify?

Thanks in advance


Top
 Profile  
 
 Post subject: Re: How to forbid display WARN information?
PostPosted: Mon Dec 21, 2009 10:42 am 
Beginner
Beginner

Joined: Tue Nov 03, 2009 9:38 am
Posts: 24
This is log4j, right? If so, set the threshold for category 'org.hibernate' to ERROR in your log4j.xml (or the corresponding tomcat log4j config file).


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.