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 (apache#4559). Contributed by ZanderXu.

Signed-off-by: He Xiaoqiao <[email protected]>
  • Loading branch information
ZanderXu authored and HarshitGupta11 committed Nov 28, 2022
1 parent d0a3b9e commit 1fa62c8
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 1fa62c8

Please sign in to comment.