Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 81421 invoked from network); 24 Mar 2011 06:50:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 06:50:54 -0000 Received: (qmail 4064 invoked by uid 500); 24 Mar 2011 06:50:54 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 3892 invoked by uid 500); 24 Mar 2011 06:50:49 -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 3871 invoked by uid 99); 24 Mar 2011 06:50:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 06:50:46 +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, 24 Mar 2011 06:50:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B9F374B5DD for ; Thu, 24 Mar 2011 06:50:05 +0000 (UTC) Date: Thu, 24 Mar 2011 06:50:05 +0000 (UTC) From: =?utf-8?Q?Christian_M=C3=BCller_=28JIRA=29?= To: dev@camel.apache.org Message-ID: <1819633096.7925.1300949405758.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1342217104.909.1299332925784.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-3759?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1301= 0578#comment-13010578 ]=20 Christian M=C3=BCller commented on CAMEL-3759: ----------------------------------------- Committed r1084858 removed the unnecessary isInfoEnabled() statements > 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, 3.0.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