[hibernate-dev] Should static logger classes be avoided

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


On 27 Jan 2013, at 3:10 PM, Sanne Grinovero <sanne at hibernate.org> wrote:

> I would not avoid static loggers, there are better solutions like
> making sure the "shared library" is loaded in the right classloader
> (of the container).

ok

> AFAIK JBoss Modules do the right thing and BVal would be loaded in its
> own module, making it reusable without drawbacks.

is that so? So multiple deployed apps can use HV and configure each Validator related 
log levels? How does JBoss Modules do it?

--Hardy




More information about the hibernate-dev mailing list