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] [Updated] (HDFS-4123) HDFS logs should print stack trace and add a comment where it is intentionally not printed
Date Tue, 06 Nov 2012 03:00:13 GMT

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

Suresh Srinivas updated HDFS-4123:
----------------------------------

    Labels:   (was: newbie)
    
> 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