Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 689EC4AFD for ; Wed, 29 Jun 2011 09:12:51 +0000 (UTC) Received: (qmail 75404 invoked by uid 500); 29 Jun 2011 09:12:47 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 75088 invoked by uid 500); 29 Jun 2011 09:12:37 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 72659 invoked by uid 99); 29 Jun 2011 09:11:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 09:11:53 +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; Wed, 29 Jun 2011 09:11:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F191C4393A8 for ; Wed, 29 Jun 2011 09:11:31 +0000 (UTC) Date: Wed, 29 Jun 2011 09:11:31 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <202408076.1750.1309338691986.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <113408089.3186.1307985891583.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7385) Remove StringUtils.stringifyException(ie) in logger functions 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/HADOOP-7385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057097#comment-13057097 ] Hudson commented on HADOOP-7385: -------------------------------- Integrated in Hadoop-Common-trunk-maven #43 (See [https://builds.apache.org/job/Hadoop-Common-trunk-maven/43/]) > Remove StringUtils.stringifyException(ie) in logger functions > ------------------------------------------------------------- > > Key: HADOOP-7385 > URL: https://issues.apache.org/jira/browse/HADOOP-7385 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.23.0 > Reporter: Bharath Mundlapudi > Assignee: Bharath Mundlapudi > Priority: Minor > Fix For: 0.23.0 > > Attachments: HADOOP-7385-1.patch > > > Apache logger api has an overloaded function which can take the message and exception. I am proposing to clean the logging code with this api. > ie.: > Change the code from LOG.warn(msg, StringUtils.stringifyException(exception)); to LOG.warn(msg, exception); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira