<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>It is barely mentioned in the document below, but&nbsp;<a href="http://logback.qos.ch/apidocs/ch/qos/logback/classic/turbo/DynamicThresholdFilter.html">DynamicThresholdFilter</a>&nbsp;(<a href="http://logback.qos.ch/apidocs/ch/qos/logback/classic/turbo/DynamicThresholdFilter.html)">http://logback.qos.ch/apidocs/ch/qos/logback/classic/turbo/DynamicThresholdFilter.html)</a>&nbsp;might also be what you are looking for. It is a little more complicated than MDCFilter but provides more control.<div><br></div><div>Ralph</div><div><br></div>On Apr 27, 2009, at 7:37 AM, Ceki Gulcu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Oh, sorry I misunderstood the question. You actually want a TurboFilter. See <a href="http://logback.qos.ch/manual/filters.html#TurboFilter">http://logback.qos.ch/manual/filters.html#TurboFilter</a><br><br>MDCFilter should fit your needs nicely. (Look a few paragraphs down after the "TurboFilters" section.<br><br>HTH,<br><br>Christophe Elek wrote:<br><blockquote type="cite">Salut Ceki,<br></blockquote><blockquote type="cite">Thanks for the info... but... :)<br></blockquote><blockquote type="cite">one question tough, what about the dynamicity (sic? :)<br></blockquote><blockquote type="cite">the code I see suggests the developer enters the variable at runtime into a List/Map<br></blockquote><blockquote type="cite">if I want to be as 'detached as possible' from the code, is there a way log4j can setup variables or am I 'stuck' with system variable ?<br></blockquote><blockquote type="cite">Christophe Elek - Senior Software Analyst<br></blockquote><blockquote type="cite">IBM Rational Serviceability Architect<br></blockquote><br>-- <br>Ceki Gülcü<br>Logback: The reliable, generic, fast and flexible logging framework for Java.<br><a href="http://logback.qos.ch">http://logback.qos.ch</a><br>_______________________________________________<br>Logback-user mailing list<br>Logback-user@qos.ch<br>http://qos.ch/mailman/listinfo/logback-user<br></div></blockquote></div><br></body></html>