Return-Path: Delivered-To: apmail-incubator-cxf-user-archive@locus.apache.org Received: (qmail 51802 invoked from network); 22 Apr 2008 20:55:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Apr 2008 20:55:12 -0000 Received: (qmail 82760 invoked by uid 500); 22 Apr 2008 20:55:12 -0000 Delivered-To: apmail-incubator-cxf-user-archive@incubator.apache.org Received: (qmail 82743 invoked by uid 500); 22 Apr 2008 20:55:12 -0000 Mailing-List: contact cxf-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-user@incubator.apache.org Delivered-To: mailing list cxf-user@incubator.apache.org Delivered-To: moderator for cxf-user@incubator.apache.org Received: (qmail 81098 invoked by uid 99); 22 Apr 2008 20:51:39 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jnorris10@gmail.com designates 74.125.46.156 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=N1e2Xef5i8saFvby9Yabtd3oHy9pPhkb14CIA3m1pI4=; b=jVOfHSBDbEjhh0ckWTIDCSN/eY7E3K3DO892y3ElzpQfb4aIRdLRALEvsKGEgKyrCuJqJaZ86FrUDGJKpzpqFLrxvIbqVacqlGQty4Dc1f5CzEYzPEOGzUbtEwsXhwecSmnyLeHSoUwmWrlS60P1I6b0qNDHQEL1fT58JyF8gr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=xLpcwt6A8JAYqxtff4hhJ7G7ie76hYlwg3tXVgsdhEHWX5dCDkVMeXjDpawdtJ9DbwkcM0spFkchiZDdgbcqpoqgf4hDSn5YCTjLKtNds4hJPVy/oxe9IFbEcTWKRwJMq9gTHOHu/j0jaPx2aH1Y/Gv4EAJ0JQAc1sRO9HtWazA= Message-ID: Date: Tue, 22 Apr 2008 13:51:06 -0700 From: "Jeremy Norris" To: "Daniel Kulp" Subject: Re: Exception logging on server: Cc: cxf-user@incubator.apache.org In-Reply-To: <200804221632.55442.dkulp@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14720_15970554.1208897466671" References: <16816689.post@talk.nabble.com> <200804221532.21675.dkulp@apache.org> <200804221632.55442.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_14720_15970554.1208897466671 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, Apr 22, 2008 at 1:32 PM, Daniel Kulp wrote: > On Tuesday 22 April 2008, Jeremy Norris wrote: > > I think not logging the stack traces by default is a good idea. > > However, In my opinion, the Exception class name should be logged by > > default. Currently, only Exception.getMessage() is logged, which makes > > it difficult to see what kinds of exceptions are being thrown when no > > exception message is set (ie: NullPointerException, or any exception > > for which the semantics of the exception are not included in > > "message"). > > Hmm... good point. I'll change this to: > > "Application has thrown exception, unwinding now: " > + ex.getClass().getName() + ": " > + ex.getMessage()); > > That should help. > > Thanks! Great! Thank you! > > > -- > J. Daniel Kulp > Principal Engineer, IONA > dkulp@apache.org > http://www.dankulp.com/blog > ------=_Part_14720_15970554.1208897466671--