logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Is it possible to e-mail all logging related to a specific thread?
Date Wed, 30 Aug 2006 14:43:32 GMT
How much data could that be?

On 8/30/06, Giovanni Cuccu - CUP2000 <giovanni.cuccu@cup2000.it> wrote:
> 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: giovanni.cuccu@cup2000.it
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message