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

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

What is the expected behavior if a user sets up xyz_OPTS to have 
hadoop.root.logger manually set?   Should the code honor that setting and leave 
it alone or should it try to find it and replace it if --debug or --verbose is 
set?

> Add hadoop command verbose and debug options
> --------------------------------------------
>
>                 Key: HADOOP-7984
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7984
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Eli Collins
>            Assignee: Allen Wittenauer
>            Priority: Minor
>              Labels: newbie
>
> 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?



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

Reply via email to