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 "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2014/09/25 11:35:34 UTC

[jira] [Updated] (HADOOP-7984) Add hadoop --loglevel option to change log level

     [ https://issues.apache.org/jira/browse/HADOOP-7984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akira AJISAKA updated HADOOP-7984:
----------------------------------
         Description: It would be helpful if bin/hadoop had --loglevel option to change the log level. Currently users need to set an env variable or prefix the command (eg "HADOOP_ROOT_LOGGER=DEBUG,console hadoop distcp") which isn't very user friendly.  (was: It would be helpful if bin/hadoop had verbose and debug flags. Currently users need to set an env variable or prefix the command (eg "HADOOP_ROOT_LOGGER=DEBUG,console hadoop distcp") which isn't very user friendly. We currently log INFO by default. How about we only log ERROR and WARN by default, then -verbose triggers INFO and -debug triggers DEBUG?)
    Target Version/s: 3.0.0, 2.6.0  (was: 2.0.0-alpha, 3.0.0)
             Summary: Add hadoop --loglevel option to change log level  (was: Add hadoop command verbose and debug options)
        Hadoop Flags:   (was: Incompatible change)

Updated the description. I'll file a separate jira to change the default log level.

> Add hadoop --loglevel option to change log level
> ------------------------------------------------
>
>                 Key: HADOOP-7984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7984
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: scripts
>            Reporter: Eli Collins
>            Assignee: Akira AJISAKA
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-7984-branch-2.patch, HADOOP-7984.3.patch, HADOOP-7984.patch, HADOOP-7984.patch
>
>
> It would be helpful if bin/hadoop had --loglevel option to change the log level. Currently users need to set an env variable or prefix the command (eg "HADOOP_ROOT_LOGGER=DEBUG,console hadoop distcp") which isn't very user friendly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)