Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-959

Fix FindBugs DM_DEFAULT_ENCODING bug in SimpleLogger.logMessage() and simplify code

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.4
    • Component/s: API
    • Labels:
      None
    • Environment:

      Description

      Fix FindBugs DM_DEFAULT_ENCODING bug in SimpleLogger.logMessage() and simplify code.

      org.apache.logging.log4j.simple.SimpleLogger
      Bug	Category	Details	Line	Priority
      Found reliance on default encoding in org.apache.logging.log4j.simple.SimpleLogger.logMessage(String, Level, Marker, Message, Throwable): java.io.ByteArrayOutputStream.toString()	I18N	DM_DEFAULT_ENCODING	166	High
      Found reliance on default encoding in org.apache.logging.log4j.simple.SimpleLogger.logMessage(String, Level, Marker, Message, Throwable): new java.io.PrintStream(OutputStream)	I18N	DM_DEFAULT_ENCODING	165	High
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              garydgregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: