-->
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: Set logging Level in persistence.xml
PostPosted: Mon Aug 25, 2008 11:32 pm 
Newbie

Joined: Mon Aug 25, 2008 10:45 pm
Posts: 5
Hi All,
I wanna set logging level in Persistence.xml file with Hibernate.
It logs all finest logs and we dont wanna all of these

Before we used oracle toplink essentials now we mograte to hibernate.
I dont know what is property to set the logging level or how to i set the logging level.
Plz help me to proceed....


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2008 7:19 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
I might be wrong but I have never seen a property for logging level in the persistence.xml
you should set your properties in your logging configuration file (which is that depends on what you are using actually, usually something like log4j.properties, unless you are using an application server)
regards,

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Set logging Level in persistence.xml
PostPosted: Wed Aug 27, 2008 4:52 am 
Newbie

Joined: Mon Aug 25, 2008 10:45 pm
Posts: 5
Hi,
Thanx for ur information to log the severe logs using log4j.properties.


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.