commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: commons-logging unsuited for cross-context webapplication invocation usage - migrating to slf4j?
Date Tue, 21 Apr 2009 22:23:27 GMT
I know you can do that but doing this simply ruins pluggeability or?

paul


Le 21-avr.-09 à 23:22, Dennis Lundberg a écrit :

> Yes, it most certainly can. It seems to be a common misconception what
> the logging implementation cannot be predictably configured. Just  
> put a
> commons-logging.properties file in your class path with the following
> line in it:
>
> org 
> .apache 
> .commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
>
> That will choose log4j for you.
>
> Paul Libbrecht wrote:
>> Ah, that's more clear.
>> But again, it cannot be predictable and pluggeable, or?
>>

Mime
View raw message