Skip to content

Commit

Permalink
HDFS-16658. Change logLevel from DEBUG to INFO if logEveryBlock is tr…
Browse files Browse the repository at this point in the history
…ue (#4559). Contributed by ZanderXu.

Signed-off-by: He Xiaoqiao <[email protected]>
  • Loading branch information
ZanderXu authored Jul 28, 2022
1 parent 06ac327 commit a5adc27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3616,7 +3616,7 @@ private Block addStoredBlock(final BlockInfo block,
curReplicaDelta =
(node.isDecommissioned() || node.isDecommissionInProgress()) ? 0 : 1;
if (logEveryBlock) {
blockLog.debug("BLOCK* addStoredBlock: {} is added to {} (size={})",
blockLog.info("BLOCK* addStoredBlock: {} is added to {} (size={})",
node, storedBlock, storedBlock.getNumBytes());
}
} else if (result == AddBlockResult.REPLACED) {
Expand Down

0 comments on commit a5adc27

Please sign in to comment.