Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 65077 invoked from network); 30 Aug 2006 15:31:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2006 15:31:41 -0000 Received: (qmail 86476 invoked by uid 500); 30 Aug 2006 15:31:38 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 86449 invoked by uid 500); 30 Aug 2006 15:31:38 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 86438 invoked by uid 99); 30 Aug 2006 15:31:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 08:31:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.131.171.241] (HELO mail.progetto-sole.it) (212.131.171.241) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Aug 2006 08:31:36 -0700 Received: (qmail 16310 invoked from network); 30 Aug 2006 15:30:06 -0000 Received: from unknown (HELO ?127.0.0.1?) (172.16.20.105) by mail.progetto-sole.it with SMTP; 30 Aug 2006 15:30:06 -0000 Message-ID: <44F5B11D.4010003@cup2000.it> Date: Wed, 30 Aug 2006 17:39:09 +0200 From: Giovanni Cuccu - CUP2000 User-Agent: Mozilla Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Log4J Users List Subject: Re: Is it possible to e-mail all logging related to a specific thread? References: <44F59796.1010602@cup2000.it> <44F5A8C3.1050803@cup2000.it> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org