[logback-user] StatusListenerAction does not set context to ContextAware StatusListener

Ceki Gulcu ceki at qos.ch
Tue Dec 8 11:48:41 CET 2009


Hello Tom,

Whenever an action is placed in the rule store by a configurator, the 
context is set. See also SimpleRuleStore.addRule() method.

So the context of StatusListenerAction is set at the time where it is 
actually invoked. Are you observing a different behavior?

Cheers,

--
Ceki

Tom Liu wrote:
> Hi,
> 
> In logback 0.9.17/0.9.18, StatusListenerAction does not set context to
> ContextAware StatusListener.
> Is it by design?
> 
> Thanks,
> Tom


More information about the Logback-user mailing list