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 B8A5F6AA7 for ; Thu, 4 Aug 2011 11:34:00 +0000 (UTC) Received: (qmail 86701 invoked by uid 500); 4 Aug 2011 11:33:59 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 85807 invoked by uid 500); 4 Aug 2011 11:33:52 -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 85172 invoked by uid 99); 4 Aug 2011 11:33:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 11:33:49 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,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, 04 Aug 2011 11:33:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 35427A7969 for ; Thu, 4 Aug 2011 11:33:27 +0000 (UTC) Date: Thu, 4 Aug 2011 11:33:27 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <175166923.7730.1312457607215.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1548256092.246.1310998318671.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7468) hadoop-core JAR contains a log4j.properties file 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-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079331#comment-13079331 ] Steve Loughran commented on HADOOP-7468: ---------------------------------------- Incidentally, before a new log4j.properties file is added, you can force commons-logging to go through the java util logger (and hence log@info) by setting -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger That's less than ideal, but is a quick workaround > hadoop-core JAR contains a log4j.properties file > ------------------------------------------------ > > Key: HADOOP-7468 > URL: https://issues.apache.org/jira/browse/HADOOP-7468 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 0.20.203.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Attachments: hadoop-7468-for-204.patch, hadoop-7468.txt > > > the hadoop-core JAR in the distribution and in the Maven repositories has a log4j JAR. This can break the logging of any client programs which import that JAR to do things like DFSClient work. It should be stripped from future releases. This should not impact server-side deployments, as the properties file in conf/ should be picked up instead. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira