Return-Path: Delivered-To: apmail-camel-commits-archive@www.apache.org Received: (qmail 47404 invoked from network); 4 Feb 2010 06:12:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 06:12:34 -0000 Received: (qmail 54541 invoked by uid 500); 4 Feb 2010 06:12:34 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 54495 invoked by uid 500); 4 Feb 2010 06:12:34 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 54486 invoked by uid 99); 4 Feb 2010 06:12:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 06:12:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 06:12:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3217723888EC; Thu, 4 Feb 2010 06:12:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r906375 - /camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/LogFormatter.java Date: Thu, 04 Feb 2010 06:12:13 -0000 To: commits@camel.apache.org From: davsclaus@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100204061213.3217723888EC@eris.apache.org> Author: davsclaus Date: Thu Feb 4 06:12:12 2010 New Revision: 906375 URL: http://svn.apache.org/viewvc?rev=906375&view=rev Log: CAMEL-2444: Added missing showAll for caught exception Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/LogFormatter.java Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/LogFormatter.java URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/LogFormatter.java?rev=906375&r1=906374&r2=906375&view=diff ============================================================================== --- camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/LogFormatter.java (original) +++ camel/trunk/camel-core/src/main/java/org/apache/camel/component/log/LogFormatter.java Thu Feb 4 06:12:12 2010 @@ -85,7 +85,7 @@ // try exception on exchange first Exception exception = exchange.getException(); boolean caught = false; - if (showCaughtException && exception == null) { + if ((showAll || showCaughtException) && exception == null) { // fallback to caught exception exception = exchange.getProperty(Exchange.EXCEPTION_CAUGHT, Exception.class); caught = true;