[logback-user] Setting MDCFilter values at runtime

Dan Cripe dan.cripe at atginfo.com
Wed Apr 11 18:20:13 CEST 2012


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


More information about the Logback-user mailing list