[logback-user] Logging crossing contexts

Chris Rompot crompot at gmail.com
Thu Aug 16 23:28:54 CEST 2012


I need to check, but that could be the problem since we are using the Spring
Framework and because of it jcl-over-slf4j.version 1.6.6.


Ceki Gulcu wrote:
> 
> On 16.08.2012 22:44, Robert Voliva wrote:
>> Chris - by any chance are the messages that are ending up in the wrong
>> context's log coming from commons-logging API loggers?  I seem to have
>> narrowed down my issue to just statements logged through
>> the jcl-over-slf4j dependency.  It seems like straight slf4j Logger
>> statements are logging to the correct log files.
> 
> Both jcl-over-slf4j and log4j-over-slf4j cache the loggers they create. 
> It follows that context selections does not work in the same way as they 
> do for native slf4j, i.e. logback, loggers.
> -- 
> Ceki
> http://tinyurl.com/proLogback
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
> 
> 

-- 
View this message in context: http://old.nabble.com/Logging-crossing-contexts-tp34292668p34309115.html
Sent from the Logback User mailing list archive at Nabble.com.



More information about the Logback-user mailing list