[logback-user] jul-to-slf4j conflicts with logback-classic

ekkehard ekkehard at gentz-software.de
Mon Sep 29 19:35:41 CEST 2008


I'm using

logback-classic
logback-core
jcl-over-slf4j
jul-to-slf4j
log4j-over-slf4j
slf4j-api

all together with no problems

...also invoking slf4jBridgeHandler

but inside an osgi application, not from servlet

ekke

cowwoc schrieb:
> Ceki,
>
> Any idea about this issue? We can discuss this in more detail on IRC if
> needed.
>
> Gili
>
>
> cowwoc wrote:
>   
>> Hi,
>>
>> If I deploy:
>>
>> slf4j-api
>> logback-classic
>> logback-core
>> jul-to-slf4j
>>
>> I get:
>>
>> Deploying application in domain failed; Logging factory implementation
>> cannot be null. See also http://www.slf4j.org/codes.html#null_LF
>>
>> but if I remove jul-to-slf4j from the classpath it works just fine
>> (except, obviously, jul-to-slf4j is disabled).
>>
>> I am invoking SLF4JBridgeHandler.install() from within a
>> ServletContextListener. Perhaps this is too late somehow?
>>
>> What am I doing wrong?
>>
>> Thank you,
>> Gili
>>
>>     
>
>   


-- 

ekkehard gentz
software-architect
erp-consultant
max-josefs-platz 30, D-83022 rosenheim, germany
homeoffice (1+1 VoIP): +49 8031 2068 325
mobile (iPhone): +49 151 19424929
mailto:ekkehard at gentz-software.de
homepage: http://www.gentz-software.de
opensource: http://ekkehard.org
blog (en): http://ekkes-corner.org
blog (de): http://ekkes-ecke.org
skype: ekke.gentz
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20080929/5fe9a11a/attachment.htm 


More information about the Logback-user mailing list