HDFS-14238. A log in NNThroughputBenchmark should change log level to INFO instead of ERROR. Contributed by Shen Yinjie.

This commit is contained in:
Ayush Saxena 2019-10-12 21:06:23 +05:30
parent 6e5cd5273f
commit 5f4641a120
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ public class NNThroughputBenchmark implements Tool {
}
static void setNameNodeLoggingLevel(Level logLevel) {
LOG.error("Log level = " + logLevel.toString());
LOG.info("Log level = " + logLevel.toString());
// change log level to NameNode logs
DFSTestUtil.setNameNodeLogLevel(logLevel);
GenericTestUtils.setLogLevel(LogManager.getLogger(