Hi all, I have to face this problem. I have a product (servlet+webservices)that uses Log4j and I got a new requirement. The system sends a mail when an application exception is thrown, now I'm asked to include all the logging information generated since the servlet started processing the request. There is an further requirement to separate logging info based on the logger name but I suspect that once I found a solution for the first requirement this should be easy to solve. Does anyone knows if is it possible to satisfy such requirement (i.e to grad all logging requests emitted by a thread since a certain date)? My initial thought was to implement a custom appender able to separate thread information (via ThreadLocal for example) and then get the info from this appender to compose the email, but I'm not sure this is the rigth way. Thanks in advance, Giovanni -- Giovanni Cuccu CUP 2000 Spa Via del Borgo di S. Pietro, 90/c - 40126 Bologna e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]