Michael Friedmann created LOG4J2-478:
----------------------------------------

             Summary: "message" field not JavaScript escaped in JSONLayout
                 Key: LOG4J2-478
                 URL: https://issues.apache.org/jira/browse/LOG4J2-478
             Project: Log4j 2
          Issue Type: Bug
          Components: Layouts
    Affects Versions: 2.0-beta9
            Reporter: Michael Friedmann
             Fix For: 2.0-rc1


The output of the JSONLayout includes the "message" field as is.  If there are 
any embedded newlines, quote, etc, this renders the JSON output as invalid.  To 
correct this, the "message" field should be properly JavaScript escaped.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to