Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43A467275 for ; Mon, 18 Jul 2011 16:53:20 +0000 (UTC) Received: (qmail 71350 invoked by uid 500); 18 Jul 2011 16:53:20 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 71327 invoked by uid 500); 18 Jul 2011 16:53:19 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 71319 invoked by uid 99); 18 Jul 2011 16:53:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2011 16:53:19 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2011 16:53:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C0EE541901 for ; Mon, 18 Jul 2011 16:52:57 +0000 (UTC) Date: Mon, 18 Jul 2011 16:52:57 +0000 (UTC) From: "Eli Collins (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <635798143.707.1311007977787.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <300592700.4296.1309399290050.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7434) Display error when using "daemonlog -setlevel" with illegal level MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-7434?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D130= 67134#comment-13067134 ]=20 Eli Collins commented on HADOOP-7434: ------------------------------------- Btw, the rationale for the fix is that loj4j's toLevel returns DEBUG if giv= en an invalid string, so to check for an invalid string you check if the gi= ven 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: =E4=B8=A5=E9=87=91=E5=8F=8C > Assignee: =E4=B8=A5=E9=87=91=E5=8F=8C > 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