[hibernate-dev] Should static logger classes be avoided

Hardy Ferentschik hardy at hibernate.org
Wed Mar 27 10:02:16 EDT 2013


Hi all,

I would like to get some feedback regarding https://hibernate.atlassian.net/browse/HV-780 - "Use of static loggers prevent deployment as a shared library".
Given that all Hibernate I think all Hibernate projects use static loggers I was wondering what everyone thinks.

According to the issue having static loggers makes it hard/impossible to configure the log levels per application in case HV is used as a library.
See also https://wiki.apache.org/commons/Logging/StaticLog and https://community.jboss.org/thread/222831?tstart=0


--Hardy


More information about the hibernate-dev mailing list