hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4123) HDFS logs should print stack trace and add a comment where it is intentionally not printed
Date Sun, 28 Oct 2012 18:27:12 GMT
Suresh Srinivas created HDFS-4123:
-------------------------------------

             Summary: HDFS logs should print stack trace and add a comment where it is intentionally
not printed
                 Key: HDFS-4123
                 URL: https://issues.apache.org/jira/browse/HDFS-4123
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Suresh Srinivas
            Priority: Minor


Review the code and change the logs to print stack trace by changing the code from:
{noformat}
  LOG.info("message" + exception)
{noformat}

to:
{noformat}
  LOG.info("message", exception)
{noformat}

Where printing exception stack trace is avoided, add a comment to indicate that intent, to
avoid someone changing it to print full stack trace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message