Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.23.0
-
None
-
None
Description
Apache logger api has an overloaded function which can take the message and exception. I am proposing to clean the logging code with this api.
ie.:
Change the code from LOG.warn(msg, StringUtils.stringifyException(exception)); to LOG.warn(msg, exception);
Attachments
Issue Links
- is duplicated by
-
HDFS-1977 Stop using StringUtils.stringifyException()
- Resolved