Hi and thank you for helping me.<br><div><br></div><div>Unfortunatelly this does not answer my question.</div><div><br></div><div>I understand the discriminator object. What I &#39;d like to achieve is that when the siftingappender creates a new appender because the</div>
<div>discriminator object is new then the new appender should take certain parameters (filename, pattern) from mdc.</div><div><br></div><div>Thanks</div><div><br></div><div>Gabor</div><div><br><br><div class="gmail_quote">
On Mon, Oct 4, 2010 at 7:22 PM, Ceki Gulcu <span dir="ltr">&lt;<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 04.10.2010 13:17, Gabor Dolla wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Is it possible to configure the SiftingAppender to use parameters from<br>
MDC other than the discriminator ?<br>
</blockquote>
<br></div>
SiftingAppender takes a disriminator object as a configuration parameter. In the absence of a discriminator specification, SiftingAppender defaults to a discriminator of type *MDCBasedDiscriminator* which uses the contents of the MDC for its discriminating action. You can choose which key to use, e.g. logger of your example.<br>

<br>
Does this answer your question?<br><font color="#888888">
<br>
--<br>
Ceki<br>
<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</font></blockquote></div><br></div>