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: turn off hibernate logging with log4j
PostPosted: Thu Nov 04, 2010 6:07 pm 
Newbie

Joined: Wed Sep 29, 2010 5:38 pm
Posts: 3
We're seeing hibernate logs in log files. I have looked through some posts related, couldn't figure out what would be the right way. I set
Code:
hibernate.show_sql=false
in the hibernate config file, though it's only for stdout. In log4j.xml/properties, I didn't specify anything for hibernate. I guess the default is to print debug for hibernate sql statements?

Any help will be highly appreciated.


Top
 Profile  
 
 Post subject: Re: turn off hibernate logging with log4j
PostPosted: Thu Nov 04, 2010 6:40 pm 
Senior
Senior

Joined: Fri Oct 08, 2010 8:44 am
Posts: 130
See my answer there:

viewtopic.php?f=1&t=942573

Use Level.SEVERE, for example.


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.