-->
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: it is possible to disable info in persistence.xml ?
PostPosted: Fri Aug 21, 2009 11:17 am 
Newbie

Joined: Fri Aug 21, 2009 11:12 am
Posts: 4
Is there any way to disable info within the file persistence.xml

21/08/2009 11:52:13 org.hibernate.cfg.annotations.Version <clinit>
INFO: Hibernate Annotations 3.3.1.GA
21/08/2009 11:52:13 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.5
21/08/2009 11:52:13 org.hibernate.cfg.Environment <clinit>

I would like to disable the info


Top
 Profile  
 
 Post subject: Re: it is possible to disable info in persistence.xml ?
PostPosted: Sat Aug 22, 2009 11:31 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Set the log4j logging level to warn. Either for all loggers or just for the loggers you are interested in, eg in log4j.properties

Code:
log4j.logger.org.hibernate.cfg.annotations.Version=warn


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.