
19 Apr
2012
19 Apr
'12
1:21 p.m.
On 19.04.2012 15:05, Dario Campagna wrote:
Hi Ceki,
[cut]
Sifting appenders cannot be nested. The error messages don't make much sense. Probably due to the fact that sifting appenders cannot be nested.
Ok.
[cut]
Anyway, instead of nesting sifting appender, you should create your own discriminator class which merges the values for MDC keys parent and node into ${parent}/${node}. Just emulate the code in MDCBasedDiscriminator [1]. If you run into trouble ask for help here.
Thank you for your suggestion. I implemented my own discriminator and it works.
Would you like to post it on this list for future reference?
Cheers, Dario
-- Ceki http://twitter.com/#!/ceki