hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7434) Display error when using "daemonlog -setlevel" with illegal level
Date Mon, 18 Jul 2011 16:52:57 GMT

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

Eli Collins commented on HADOOP-7434:
-------------------------------------

Btw, the rationale for the fix is that loj4j's toLevel returns DEBUG if given an invalid string,
so to check for an invalid string you check if the given level matches the string value after
conversion.

> Display error when using "daemonlog -setlevel" with illegal level
> -----------------------------------------------------------------
>
>                 Key: HADOOP-7434
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7434
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.23.0
>            Reporter: 严金双
>            Assignee: 严金双
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7434, HADOOP-7434.patch
>
>
> While using the command with inexistent "level" like "nomsg", there is no error message
displayed,and the level "DEBUG" is set by default.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message