You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2012/01/31 05:32:10 UTC

[jira] [Created] (HADOOP-8008) Document how to change the default loglevels

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

        

[jira] [Commented] (HADOOP-8008) Document how to change the default loglevels

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262332#comment-13262332 ] 

Eli Collins commented on HADOOP-8008:
-------------------------------------

The new docs should also cover how to enable audit logging (won't be on by default after HADOOP-8316).
                
> 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
>
> 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

        

[jira] [Commented] (HADOOP-8008) Document how to change the default loglevels

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260884#comment-13260884 ] 

Eli Collins commented on HADOOP-8008:
-------------------------------------

Hi Tomohiko, I gave you perms to edit the wiki.

Thanks,
Eli
                
> 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
>
> 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

        

[jira] [Updated] (HADOOP-8008) Document how to change the default loglevels

Posted by "Robert Joseph Evans (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8008:
----------------------------------------

    Target Version/s: 2.0.0, 3.0.0  (was: 0.23.2)
    
> 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
>              Labels: newbie
>
> 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

        

[jira] [Updated] (HADOOP-8008) Document how to change the default loglevels

Posted by "Tomohiko Kinebuchi (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Assigned] (HADOOP-8008) Document how to change the default loglevels

Posted by "Tomohiko Kinebuchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomohiko Kinebuchi reassigned HADOOP-8008:
------------------------------------------

    Assignee: Tomohiko Kinebuchi
    
> 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
>
> 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

        

[jira] [Commented] (HADOOP-8008) Document how to change the default loglevels

Posted by "Tomohiko Kinebuchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259677#comment-13259677 ] 

Tomohiko Kinebuchi commented on HADOOP-8008:
--------------------------------------------

I become the assignee, but I cannot edit the Wiki page "HowToConfigure".
Could I have a grant to edit?
                
> 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
>
> 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