In LazyInitializationException's constructor, we do log as error the exception 
and its stack trace. While not extremely common[1][2], there are cases in 
Hibernate Search engine where we catch the exception and ignore it on purpose. 
These ERROR level logs are scaring and polluting.

Question, would anyone object be ok if I decrease the ERROR level to TRACE? 
When people chase non loaded collections they could activate TRACE to chase 
them down.

Emmanuel

[1] http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-385
[2] http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-386
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to