hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hui Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11832) Switch leftover logs to slf4j format in BlockManager.java
Date Tue, 16 May 2017 14:22:04 GMT
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

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message