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 C00C8CDC3 for ; Sun, 20 May 2012 07:56:43 +0000 (UTC) Received: (qmail 96337 invoked by uid 500); 20 May 2012 07:56:43 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 96311 invoked by uid 500); 20 May 2012 07:56:42 -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 96274 invoked by uid 99); 20 May 2012 07:56:41 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2012 07:56:41 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 983B214001F for ; Sun, 20 May 2012 07:56:41 +0000 (UTC) Date: Sun, 20 May 2012 07:56:41 +0000 (UTC) From: "Tomohiko Kinebuchi (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <346550783.891.1337500601629.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1729324553.10488.1327984330261.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8008) Document how to change the default loglevels 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-8008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomohiko Kinebuchi updated HADOOP-8008: --------------------------------------- Attachment: HADOOP-8008.txt added a patch for log4j.properties. diff of a Wiki page is here: http://wiki.apache.org/hadoop/HowToConfigure?action=diff&rev2=17&rev1=14 > Document how to change the default loglevels > -------------------------------------------- > > Key: HADOOP-8008 > URL: https://issues.apache.org/jira/browse/HADOOP-8008 > Project: Hadoop Common > Issue Type: Improvement > Components: documentation > Reporter: Eli Collins > Assignee: Tomohiko Kinebuchi > Labels: newbie > Attachments: HADOOP-8008.txt > > > The hadoop.root.logger defined in log4j.properties is only used by applications. The scripts (bin and daemons) always set it to HADOOP_ROOT_LOGGER or "INFO,console" so the installed log4j.properties appears to be ignored. The wiki doesn't cover this: > http://wiki.apache.org/hadoop/HowToConfigure > We should update the cluster setup docs to indicate how the loglevel is configured and also add a comment in log4j.properties that the hadoop.root.logger defined there is not used by Hadoop itself, that HADOOP_ROOT_LOGGER must be set. This is relevant for commands and daemons, though the latter also has daemonlog (http://hadoop.apache.org/common/docs/current/commands_manual.html#daemonlog). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira