I do not use an email appender, but a java method.If I correctly
understand your proposal I have to write a custom appender anyway ,i.e.
standard log4j distribution does not provide a solution for my problem,
is it right?
Giovanni Cuccu
You could maybe make an appender that adds the event to the MDC and
then have your email appender include the MDC. Be sure to clear the
MDC at the end of the request. That seems like it might be the
easiest solution but someone else might have a better idea.
--
Giovanni Cuccu
CUP 2000 Spa
Via del Borgo di S. Pietro, 90/c - 40126 Bologna
e-mail: giovanni.cuccu _at_ cup2000.it
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]