[hibernate-dev] Hibernate 4.0 logging looks too verbose still (suggest changing more info to debug/trace)
Scott Marlow
smarlow at redhat.com
Sat May 14 00:37:42 EDT 2011
Hi,
The following Hibernate log output is from running the AS 7.0
integration testsuite (with Hibernate 4.0.0.Alpha3)
http://pastie.org/1899179
I think some of the warnings might be telling me that we have something
wrong in the AS7/Hibernate integration. For example "23:43:42,001 WARN
[org.hibernate.ejb.AbstractEntityManagerImpl] (RMI TCP
Connection(2)-127.0.0.1) HHH00326:Cannot join transaction: do not
override hibernate.transaction.factory_class". If so, we should fix the
problem.
I think it would be in the spirit of our logging guideline
http://community.jboss.org/wiki/HowtologinJBossprojects, to move some of
the (non-critical) INFO messages to DEBUG or TRACE.
No one has disagreed about this in the past and many messages have
already changed. I wanted to see if we agree that more INFO messages
should be changed to DEBUG/TRACE.
For example, I think that we should use debug/trace level for indicating
when a connection is obtained/released (since that is a normal operation
that means that stuff is working).
Scott
More information about the hibernate-dev
mailing list