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 "Santhosh G Nayak (JIRA)" <ji...@apache.org> on 2015/09/15 15:32:46 UTC

[jira] [Created] (HDFS-9082) Change the log level in WebHdfsFileSystem.initialize() from INFO to DEBUG

Santhosh G Nayak created HDFS-9082:
--------------------------------------

             Summary: Change the log level in WebHdfsFileSystem.initialize() from INFO to DEBUG
                 Key: HDFS-9082
                 URL: https://issues.apache.org/jira/browse/HDFS-9082
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: webhdfs
            Reporter: Santhosh G Nayak
            Assignee: Santhosh G Nayak
            Priority: Minor
             Fix For: 2.8.0


Log info statements described below show up in the stdouts of {{FileSystem}} operations on {{WebHdfsFileSystem}}. So, the proposal is to change the log level from INFO to DEBUG.
 
{code}
 if(isOAuth) {
      LOG.info("Enabling OAuth2 in WebHDFS");
      connectionFactory = URLConnectionFactory
          .newOAuth2URLConnectionFactory(conf);
    } else {
      LOG.info("Not enabling OAuth2 in WebHDFS");
      connectionFactory = URLConnectionFactory
          .newDefaultURLConnectionFactory(conf);
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)