-->
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: Stop logging of org.hibernate.util.JDBCExceptionReporter
PostPosted: Thu Jun 26, 2008 3:49 am 
Newbie

Joined: Thu Jun 21, 2007 9:24 am
Posts: 7
Hello,
I want to get rid of logging class org.hibernate.util.JDBCExceptionReporter.

My server.log (JBoss) if full of this WARNings:

Code:
2008-06-26 07:51:55,265 WARN  [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000
2008-06-26 07:51:55,265 WARN  [org.hibernate.util.JDBCExceptionReporter] duration: 0.071 ms  statement: EXECUTE <unnamed>  [PREPARE:  SHOW TRANSACTION ISOLATION LEVEL]
2008-06-26 07:53:29,625 WARN  [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000
2008-06-26 07:53:29,625 WARN  [org.hibernate.util.JDBCExceptionReporter] duration: 0.034 ms  statement: EXECUTE <unnamed>  [PREPARE:  COMMIT]
2008-06-26 07:53:30,031 WARN  [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000
2008-06-26 07:53:30,031 WARN  [org.hibernate.util.JDBCExceptionReporter] duration: 0.067 ms  statement: EXECUTE <unnamed>  [PREPARE:  SHOW TRANSACTION ISOLATION LEVEL]
2008-06-26 07:53:30,046 WARN  [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000
2008-06-26 07:53:30,046 WARN  [org.hibernate.util.JDBCExceptionReporter] duration: 0.028 ms  statement: EXECUTE <unnamed>  [PREPARE:  COMMIT]
2008-06-26 07:53:30,062 WARN  [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000
2008-06-26 07:53:30,062 WARN  [org.hibernate.util.JDBCExceptionReporter] duration: 0.034 ms  statement: EXECUTE <unnamed>  [PREPARE:  COMMIT]
2008-06-26 07:53:30,093 WARN  [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000



There isn't any logger for org.hibernate in log4j.xml.
Interesting is that there are only WARNings concernig transactions management.

Thanks for help


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 26, 2008 9:35 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
Just standard warn logging. Here's some more info:

http://publib.boulder.ibm.com/infocente ... iables.htm

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 27, 2008 3:12 am 
Newbie

Joined: Thu Jun 21, 2007 9:24 am
Posts: 7
OK, it is standard log, but this logs appear only in commit transactions but not in other hibernate actions.
In addition why it is WARN if the SQL State is 00000 - which means no error (I hope).

thanks


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.