You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Santhosh G Nayak (JIRA)" <ji...@apache.org> on 2015/09/15 16:03:46 UTC

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

     [ https://issues.apache.org/jira/browse/HDFS-9082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HDFS-9082 started by Santhosh G Nayak.
----------------------------------------------
> 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
>
>         Attachments: HDFS-9082.1.patch
>
>
> 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)