[logback-user] Setting MDCFilter values at runtime

Ralph Goers rgoers at apache.org
Thu Apr 12 02:52:13 CEST 2012


Use the DynamicThresholdFilter.

Ralph

On Apr 11, 2012, at 9:20 AM, Dan Cripe wrote:

> Hi- I'd like to leverage the MDCFilter TurboFilter, but I need to be able to change the "value" element at runtime.  Basically, if a specific user is having trouble, I want to set their logs to show up as DEBUG while the remainder of the logs show up as INFO.  Is there a way (preferably using JMX) that this can be done via configuration?  If not, what's the best approach programatically?
> 
> Thanks,
> Dan
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user



More information about the Logback-user mailing list