Thanks for pointing me in that direction. I can see now that the jcl-over-slf4j LogFactory doesn't use the logging context selectors.
On 16.08.2012 22:44, Robert Voliva wrote: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.
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.
--
Ceki
http://tinyurl.com/proLogback
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user