
Maybe the problem has to do with when slf4jBridgeHandler gets invoked. When does your osgi application invoke it? Mine only invokes it in a ServletContextListener. Perhaps something is getting logged beforehand? Gili ekke wrote:
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@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
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
-- View this message in context: http://www.nabble.com/jul-to-slf4j-conflicts-with-logback-classic-tp19590922... Sent from the Logback User mailing list archive at Nabble.com.