[hibernate-dev] LazyInitializationException logs as error
emmanuel at hibernate.org
Thu Jul 7 19:10:43 EDT 2011
In LazyInitializationException's constructor, we do log as error the exception and its stack trace. While not extremely common, 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.
More information about the hibernate-dev