
19 Apr
2012
19 Apr
'12
1:05 p.m.
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. Cheers, Dario