hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Isaacson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3911) Tests setLevel(Level.OFF) should be Level.ERROR
Date Mon, 10 Sep 2012 19:06:07 GMT
Andy Isaacson created HDFS-3911:
-----------------------------------

             Summary: Tests setLevel(Level.OFF) should be Level.ERROR
                 Key: HDFS-3911
                 URL: https://issues.apache.org/jira/browse/HDFS-3911
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
    Affects Versions: 2.0.1-alpha
            Reporter: Andy Isaacson
            Assignee: Andy Isaacson
            Priority: Minor


Multiple tests have code like
{code}
((Log4JLogger)LogFactory.getLog(FSNamesystem.class)).getLogger().setLevel(Level.OFF);
{code}
Completely disabling logs from given classes with {{Level.OFF}} is a bad idea and makes debugging
other test failures, especially intermittent test failures like HDFS-3664, difficult.  Instead
the code should use {{Level.ERROR}} to reduce verbosity.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message