[hibernate-dev] Should static logger classes be avoided

Sanne Grinovero sanne at hibernate.org
Wed Mar 27 10:28:44 EDT 2013


On 27 March 2013 14:27, Hardy Ferentschik <hardy at hibernate.org> wrote:
>
> 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?

No I don't think they can use different log levels. Is that being requested?

>
> --Hardy
>


More information about the hibernate-dev mailing list