Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2072

Remove StringUtils.stringifyException(ie) in logger functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.23.0
    • 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

          Activity

            People

              bharathm Bharath Mundlapudi
              bharathm Bharath Mundlapudi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: