-->
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: enlever le mode debug d'hibernate
PostPosted: Tue Sep 26, 2006 11:14 am 
Newbie

Joined: Tue Sep 26, 2006 10:55 am
Posts: 1
Salut !

je voudrais savior comment enlever le mode debug d'hibernate au niveau de log4J, car mon fichier de log est limite illisible avec tout ce que me met hibernate....


merci d'avance.
ciao


Top
 Profile  
 
 Post subject: Re: enlever le mode debug d'hibernate
PostPosted: Wed Sep 27, 2006 11:36 am 
Newbie

Joined: Tue Sep 26, 2006 7:51 am
Posts: 4
kalf wrote:
Salut !

je voudrais savior comment enlever le mode debug d'hibernate au niveau de log4J, car mon fichier de log est limite illisible avec tout ce que me met hibernate....


merci d'avance.
ciao


Tu dois mettre off à tous les logger.
regarde ça : http://beuss.developpez.com/tutoriels/java/jakarta/log4j/#LII.B

Ici je garde que les log SQL:

### set log levels - for more verbose logging change 'info' to 'debug' ###

log4j.rootLogger= war, stdout, file

log4j.logger.org.hibernate=off


### log just the SQL
log4j.logger.org.hibernate.SQL=debug


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.