Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8D326046 for ; Thu, 16 Jun 2011 22:11:10 +0000 (UTC) Received: (qmail 75755 invoked by uid 500); 16 Jun 2011 22:11:10 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 75690 invoked by uid 500); 16 Jun 2011 22:11:10 -0000 Mailing-List: contact dev-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 dev@camel.apache.org Received: (qmail 75682 invoked by uid 99); 16 Jun 2011 22:11:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 22:11:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 22:11:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5961241C182 for ; Thu, 16 Jun 2011 22:10:48 +0000 (UTC) Date: Thu, 16 Jun 2011 22:10:48 +0000 (UTC) From: =?utf-8?Q?Christian_M=C3=BCller_=28JIRA=29?= To: dev@camel.apache.org Message-ID: <1972339405.13132.1308262248362.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1342217104.909.1299332925784.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (CAMEL-3759) After switching to slf4j, we can get rid of the 'isTraceEnabled', 'isDebugEnabled' and 'isInfoEnabled' statements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3759?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian M=C3=BCller closed CAMEL-3759. ----------------------------------- > After switching to slf4j, we can get rid of the 'isTraceEnabled', 'isDebu= gEnabled' and 'isInfoEnabled' statements > -------------------------------------------------------------------------= ---------------------------------------- > > Key: CAMEL-3759 > URL: https://issues.apache.org/jira/browse/CAMEL-3759 > Project: Camel > Issue Type: Improvement > Affects Versions: 2.6.0 > Reporter: Christian M=C3=BCller > Assignee: Christian M=C3=BCller > Fix For: 2.8.0 > > > we can get rid of the 'isTraceEnabled', 'isDebugEnabled' and 'isInfoEnabl= ed' statements with slf4j and use > {code} > logger.debug("Temperature set to {}. Old temperature was {}.", t, oldT); > {code} > instead > christian-muellers-macbook-pro:camel cmueller$ egrep -r 'isTraceEnabled|i= sDebugEnabled|isInfoEnabled]' . | wc -l > 1485 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira