org.picketlink.idm generates verbose hibernate logging
------------------------------------------------------
Key: GTNPORTAL-761
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-761
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Performance
Affects Versions: 3.0.0-CR01
Reporter: Luc Texier
Fix For: 3.0.0-GA
the use case is
1) start gatein
2) display the dashboard with 2 gadgets in it
the log is full of entries like
2010-02-25 15:58:48,718 DEBUG [org.hibernate.engine.Collections] Collection found:
[org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName.properties#2],
was:
[org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName.properties#2]
(initialized)
2010-02-25 15:58:48,718 DEBUG [org.hibernate.engine.Collections] Collection found:
[org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName.properties#3],
was:
[org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectRelationshipName.properties#3]
(initialized)
2010-02-25 15:58:48,718 DEBUG [org.hibernate.engine.Collections] Collection found:
[org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject.attributes#18], was:
[org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject.attributes#18]
(initialized)
2010-02-25 15:58:48,718 DEBUG [org.hibernate.engine.Collections] Collection found:
[org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject.credentials#18], was:
[org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject.credentials#18]
(uninitialized)
count of "org.hibernate.engine.Collections" returns 86000+ entries
if I disable it with log4j as follows, the log file size is divide by a factor of 2 (15MB
from 38MB)
<category name="org.hibernate.engine.Collections">
<priority value="INFO"/>
</category>
same story with org.hibernate.pretty.Printer (count = 20000+)
2010-02-25 16:00:15,046 DEBUG [org.hibernate.pretty.Printer]
org.picketlink.idm.impl.model.hibernate.HibernateIdentityObjectAttribute{id=24,
textValues=[Operations], name=label, binaryValue=null, type=text,
identityObject=org.picketlink.idm.impl.model.hibernate.HibernateIdentityObject#13}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira