[ 
https://issues.apache.org/jira/browse/HADOOP-7984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14162996#comment-14162996
 ] 

Allen Wittenauer commented on HADOOP-7984:
------------------------------------------

Sorry, I've been out of town. The patch no longer applies, but it did apply 
enough that it works for the Unix-side of the house for me to test.  One thing 
that I'm sort of wondering about... should we protect users from giving bad 
values?  i.e., 'warn' vs WARN?

Other than that open question (which, really, doesn't matter either way to me), 
I'm +1.

> 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.4.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)

Reply via email to