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 "Brock Noland (JIRA)" <ji...@apache.org> on 2012/06/27 16:09:45 UTC

[jira] [Created] (HDFS-3575) HttpFS does not log Exception Stacktraces

Brock Noland created HDFS-3575:
----------------------------------

             Summary: HttpFS does not log Exception Stacktraces
                 Key: HDFS-3575
                 URL: https://issues.apache.org/jira/browse/HDFS-3575
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.0.1-alpha
            Reporter: Brock Noland


In the 'log' method of the HttpFSExceptionProvider we log exceptions as "warn" but the stacktrace itself is not logged:

    LOG.warn("[{}:{}] response [{}] {}", new Object[]{method, path, status, message, throwable});

We should log the exception here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira