You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Carter Douglas Kozak (JIRA)" <ji...@apache.org> on 2017/11/15 22:31:00 UTC

[jira] [Created] (LOG4J2-2120) Json escaping does not properly escape newlines

Carter Douglas Kozak created LOG4J2-2120:
--------------------------------------------

             Summary: Json escaping does not properly escape newlines
                 Key: LOG4J2-2120
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2120
             Project: Log4j 2
          Issue Type: Bug
          Components: Layouts
    Affects Versions: 2.9.1
            Reporter: Carter Douglas Kozak


Newline procudes the string "\u000A" where we expect literal "\n" (two individual characters). 

The produced json is not parsable by some systems, pythoon -mjsontool for example.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)