I'm using logback 1.0.9 and this works for me.

When I set an MDC key, then the very next log statement will cause it to go
to a new appender and new log file.

What do you mean that you need to send a spurious message first?

David



--
View this message in context: 
http://logback.10977.n7.nabble.com/Timing-of-sifting-appender-dynamic-appender-instantiation-tp11687p11836.html
Sent from the Users mailing list archive at Nabble.com.
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to