Skip to content

Commit a5adc27

Browse files
authored
HDFS-16658. Change logLevel from DEBUG to INFO if logEveryBlock is true (#4559). Contributed by ZanderXu.
Signed-off-by: He Xiaoqiao <[email protected]>
1 parent 06ac327 commit a5adc27

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3616,7 +3616,7 @@ private Block addStoredBlock(final BlockInfo block,
36163616
curReplicaDelta =
36173617
(node.isDecommissioned() || node.isDecommissionInProgress()) ? 0 : 1;
36183618
if (logEveryBlock) {
3619-
blockLog.debug("BLOCK* addStoredBlock: {} is added to {} (size={})",
3619+
blockLog.info("BLOCK* addStoredBlock: {} is added to {} (size={})",
36203620
node, storedBlock, storedBlock.getNumBytes());
36213621
}
36223622
} else if (result == AddBlockResult.REPLACED) {

0 commit comments

Comments
 (0)