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 "Joey Echeverria (JIRA)" <ji...@apache.org> on 2011/05/20 21:43:47 UTC
[jira] [Created] (HDFS-1977) Stop using
StringUtils.stringifyException()
Stop using StringUtils.stringifyException()
-------------------------------------------
Key: HDFS-1977
URL: https://issues.apache.org/jira/browse/HDFS-1977
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Joey Echeverria
Priority: Minor
The old version of the logging APIs didn't support logging stack traces by passing exceptions to the logging methods (e.g. Log.error()). A number of log statements make use of StringUtils.stringifyException() to get around the old behavior. It would be nice if this could get cleaned up to make use of the the logger's stack trace printing. This also gives users more control since you can configure how the stack traces are written to the logs.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira