Return-Path: X-Original-To: apmail-logging-log4j-user-archive@www.apache.org Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44E7C7756 for ; Thu, 14 Jul 2011 14:48:15 +0000 (UTC) Received: (qmail 41665 invoked by uid 500); 14 Jul 2011 14:48:14 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 41573 invoked by uid 500); 14 Jul 2011 14:48:13 -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 41564 invoked by uid 99); 14 Jul 2011 14:48:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 14:48:13 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 14:48:06 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QhNCb-00061u-N9 for log4j-user@logging.apache.org; Thu, 14 Jul 2011 07:47:45 -0700 Message-ID: <32061804.post@talk.nabble.com> Date: Thu, 14 Jul 2011 07:47:45 -0700 (PDT) From: fachhoch To: log4j-user@logging.apache.org Subject: Re: append user details with exception stacktrace In-Reply-To: <32048303.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: fachhoch@gmail.com References: <32048303.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org any help please ? I want to modify the message which log4j is going to log , please help me fachhoch wrote: > > can I add additional information when log4j logs exceptions ?, my root > logger logs all errors , can I add a new line to the exception > stacktrace ie user details which is in threadlocal , is there any > customization I can do before message is logged to logs ? > -- View this message in context: http://old.nabble.com/append-user-details--with-exception-stacktrace-tp32048303p32061804.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org