<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Ralph, but after reading the user guide and java docs I'm not seeing how I can adjust this value at run time (only that I can set multiple values). Basically, if there's a problem reported, I want to be able to use JMX or some other means to tell log back to start logging all messages for user X (an MDC value) at DEBUG and then later revert back to normal logging. <div><br></div><div>Is it possible to get a reference to an existing turbo-filter and then set the value directly? If so, I can create my own MBean that modifies the filter as needed.<br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" color="#2323d2"><b><br></b></font></div></span>
</div>
<br><div><div>On Apr 11, 2012, at 6:52 PM, Ralph Goers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Use the DynamicThresholdFilter.<br><br>Ralph<br><br>On Apr 11, 2012, at 9:20 AM, Dan Cripe wrote:<br><br><blockquote type="cite">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?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Dan<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Logback-user mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br></blockquote><blockquote type="cite"><a href="http://mailman.qos.ch/mailman/listinfo/logback-user">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote><br>_______________________________________________<br>Logback-user mailing list<br><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>http://mailman.qos.ch/mailman/listinfo/logback-user<br></div></blockquote></div><br></div></body></html>