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