Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 14441 invoked from network); 7 Oct 2008 11:41:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 11:41:43 -0000 Received: (qmail 92712 invoked by uid 500); 7 Oct 2008 11:41:42 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 92690 invoked by uid 500); 7 Oct 2008 11:41:42 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 92673 invoked by uid 99); 7 Oct 2008 11:41:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 04:41:42 -0700 X-ASF-Spam-Status: No, hits=-0.9 required=10.0 tests=DNS_FROM_SECURITYSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martin.lists@imap.cc designates 66.111.4.28 as permitted sender) Received: from [66.111.4.28] (HELO out4.smtp.messagingengine.com) (66.111.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 11:40:39 +0000 Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 8FC39177B38 for ; Tue, 7 Oct 2008 07:41:14 -0400 (EDT) Received: from web7.messagingengine.com ([10.202.2.216]) by compute2.internal (MEProxy); Tue, 07 Oct 2008 07:41:14 -0400 Received: by web7.messagingengine.com (Postfix, from userid 99) id 6F0BF8C967; Tue, 7 Oct 2008 07:41:14 -0400 (EDT) Message-Id: <1223379674.18227.1277954785@webmail.messagingengine.com> X-Sasl-Enc: 9Mw/JPRFDjlJqqfaz5sRyShphzbO3+UaI6Ca9bv2DNve 1223379674 From: "Martin Gilday" To: camel-user@activemq.apache.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface Subject: loggingErrorHandler defaults to INFO Date: Tue, 07 Oct 2008 12:41:14 +0100 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Was it a conscious decision to make errorHandler(loggingErrorHandler("my.logger.name")); to configure a logger which has its level set to INFO? From the name I would really think it should default to ERROR, seeing as it logs whenever an exception is caught i.e an error. On our live servers we get emailed on ERROR and I onlu noticed the queue had been failing when I looked at the JMX console. I know that I can change this by calling .setLevel but I think ERROR would be a much more sensible default. If anyone else agrees then I can create a JIRA and attach a patch (it should only be a one line change in LoggingErrorHandlerBuilder). Martin.