Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.1-alpha
-
None
-
Reviewed
Description
Multiple tests have code like
((Log4JLogger)LogFactory.getLog(FSNamesystem.class)).getLogger().setLevel(Level.OFF);
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.