You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Hui Xu (JIRA)" <ji...@apache.org> on 2017/05/16 14:22:04 UTC
[jira] [Created] (HDFS-11832) Switch leftover logs to slf4j format
in BlockManager.java
Hui Xu created HDFS-11832:
-----------------------------
Summary: Switch leftover logs to slf4j format in BlockManager.java
Key: HDFS-11832
URL: https://issues.apache.org/jira/browse/HDFS-11832
Project: Hadoop HDFS
Issue Type: Improvement
Components: namenode
Affects Versions: 3.0.0-alpha1, 2.8.0, 2.7.0
Reporter: Hui Xu
Priority: Minor
HDFS-7706 Switch BlockManager logging to use slf4j. But the logging formats were not changed appropriately. For example:
if (LOG.isDebugEnabled()) {
LOG.debug("blocks = " + java.util.Arrays.asList(blocks));
}
These codes should be changed to:
LOG.debug("blocks = {}", java.util.Arrays.asList(blocks));
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org