Hi Chris!

Small world, eh? :)

Dawid: The piece you're missing is LoggerContext.updateLoggers(...)


I did that too... I think. I have dynamic appender redirection (teeing) in
another place - this is where updateLoggers() is used. But this time I
wanted to swap out entire configurations (this may involve different logger
setup, appenders, etc.) and could't make it work properly, no matter what.
I'll go back to the drawing board and retry.

I do understand it's not a typical use-case but it's actually a fairly
frequent thing that happens in integration tests when you don't want to see
stuff
that is tested (well, maybe you do, but only if something fails).

Dawid

Reply via email to