You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2015/06/09 01:29:00 UTC
[jira] [Closed] (LOG4J2-959) Fix FindBugs DM_DEFAULT_ENCODING bug
in SimpleLogger.logMessage() and simplify code
[ https://issues.apache.org/jira/browse/LOG4J2-959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory closed LOG4J2-959.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.4
In Git master.
> Fix FindBugs DM_DEFAULT_ENCODING bug in SimpleLogger.logMessage() and simplify code
> -----------------------------------------------------------------------------------
>
> Key: LOG4J2-959
> URL: https://issues.apache.org/jira/browse/LOG4J2-959
> Project: Log4j 2
> Issue Type: Bug
> Components: API
> Affects Versions: 2.1
> Environment: Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T09:29:23-08:00)
> Maven home: C:\Java\apache-maven-3.2.5
> Java version: 1.7.0_75, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_75\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> Reporter: Gary Gregory
> Fix For: 2.4
>
> Attachments: logging-log4j2.patch
>
>
> Fix FindBugs DM_DEFAULT_ENCODING bug in SimpleLogger.logMessage() and simplify code.
> {noformat}
> 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org