Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F0F71200D21 for ; Mon, 16 Oct 2017 09:28:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EFAED160BE9; Mon, 16 Oct 2017 07:28:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 49C9D1609EC for ; Mon, 16 Oct 2017 09:28:31 +0200 (CEST) Received: (qmail 44349 invoked by uid 500); 16 Oct 2017 07:28:30 -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 44327 invoked by uid 99); 16 Oct 2017 07:28:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2017 07:28:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0C47FDFAEB; Mon, 16 Oct 2017 07:28:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Mon, 16 Oct 2017 07:28:30 -0000 Message-Id: <064c2eb28b8e4b8b85ccabde4f765879@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] camel git commit: CAMEL-11896: set CamelLogDebugBodyMaxChars when 0 or negative archived-at: Mon, 16 Oct 2017 07:28:32 -0000 Repository: camel Updated Branches: refs/heads/camel-2.19.x 1fae26dd5 -> 9d6bc075a CAMEL-11896: set CamelLogDebugBodyMaxChars when 0 or negative Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/be1e4e20 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/be1e4e20 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/be1e4e20 Branch: refs/heads/camel-2.19.x Commit: be1e4e20661449e12233bcdd09f01ab9fc669ad1 Parents: 1fae26d Author: Sam Ma Authored: Mon Oct 16 10:34:07 2017 +1100 Committer: Claus Ibsen Committed: Mon Oct 16 09:28:02 2017 +0200 ---------------------------------------------------------------------- .../org/apache/camel/spring/boot/CamelAutoConfiguration.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/be1e4e20/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java index 37b58e5..a443a56 100644 --- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java +++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java @@ -114,9 +114,7 @@ public class CamelAutoConfiguration { camelContext.getShutdownStrategy().setShutdownRoutesInReverseOrder(config.isShutdownRoutesInReverseOrder()); camelContext.getShutdownStrategy().setLogInflightExchangesOnTimeout(config.isShutdownLogInflightExchangesOnTimeout()); - if (config.getLogDebugMaxChars() > 0) { - camelContext.getGlobalOptions().put(Exchange.LOG_DEBUG_BODY_MAX_CHARS, "" + config.getLogDebugMaxChars()); - } + camelContext.getGlobalOptions().put(Exchange.LOG_DEBUG_BODY_MAX_CHARS, "" + config.getLogDebugMaxChars()); // stream caching camelContext.setStreamCaching(config.isStreamCachingEnabled());