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


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

        

Reply via email to