
4 Oct
2010
4 Oct
'10
5:22 p.m.
On 04.10.2010 13:17, Gabor Dolla wrote:
Hi
Is it possible to configure the SiftingAppender to use parameters from MDC other than the discriminator ?
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. Does this answer your question? -- Ceki