Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 53C51D4AC for ; Thu, 11 Oct 2012 01:13:03 +0000 (UTC) Received: (qmail 63859 invoked by uid 500); 11 Oct 2012 01:13:03 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 63829 invoked by uid 500); 11 Oct 2012 01:13:03 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 63820 invoked by uid 99); 11 Oct 2012 01:13:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 01:13:03 +0000 Date: Thu, 11 Oct 2012 01:13:03 +0000 (UTC) From: "Hadrian Zbarcea (JIRA)" To: issues@camel.apache.org Message-ID: <1833774218.23649.1349917983217.JavaMail.jiratomcat@arcas> In-Reply-To: <1249686846.20623.1349889783289.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CAMEL-5699) LogFormatter throws a NPE when all elements are disabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hadrian Zbarcea updated CAMEL-5699: ----------------------------------- Fix Version/s: (was: 2.9.4) 2.9.5 > LogFormatter throws a NPE when all elements are disabled > -------------------------------------------------------- > > Key: CAMEL-5699 > URL: https://issues.apache.org/jira/browse/CAMEL-5699 > Project: Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 2.9.3, 2.10.1 > Reporter: Raul Kripalani > Assignee: Raul Kripalani > Fix For: 2.9.5, 2.11.0 > > > There are perfectly valid cases where you may want to output a log message with no elements displayed, i.e. with showExchangeId=false, showBody=false, etc. > For example, when you want to print a "signal" log line for a particular transaction and you're already using MDC logging with breadcrumbs enabled. You may already have all the info you need: logging category, severity, breadcrumbId. You are not interested in anything else. > Currently, disabling all elements leads to a NPE. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira