[ 
https://issues.apache.org/jira/browse/LOG4J2-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory reassigned LOG4J2-478:
-----------------------------------

    Assignee: Gary Gregory

> "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
>            Assignee: Gary Gregory
>             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