logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Friedmann (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-478) "message" field not JavaScript escaped in JSONLayout
Date Fri, 27 Dec 2013 17:01:53 GMT
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message