[
https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245708#comment-15245708
]
Greg Thomas commented on LOG4J2-1362:
-------------------------------------
I'm unfamiliar with YAML, but with JSON the keys can be quoted; YAML appear
similar
(http://stackoverflow.com/questions/19109912/do-i-need-quotes-for-strings-in-yaml)
{code}
contextMap:
"MDC.B": "B_Value"
"MDC.A": "A_Value"
{code}
> Create a YAML layout
> --------------------
>
> Key: LOG4J2-1362
> URL: https://issues.apache.org/jira/browse/LOG4J2-1362
> Project: Log4j 2
> Issue Type: New Feature
> Environment: Apache Maven 3.3.9
> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
> Maven home: E:\Java\apache-maven-3.3.9\bin\..
> Java version: 1.8.0_77, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_77\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 2.6
>
>
> Create a YAML layout; this will reuse what we already have for XML and JSON
> through Jackson.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]