You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2016/04/18 13:10:25 UTC

[jira] [Commented] (LOG4J2-1362) Create a YAML layout

    [ https://issues.apache.org/jira/browse/LOG4J2-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245471#comment-15245471 ] 

Mikael Ståldal commented on LOG4J2-1362:
----------------------------------------

Considering https://issues.apache.org/jira/browse/LOG4J2-623, do we really want this new YAML layout to look like this:

{code}
contextMap:
- key: "MDC.B"
  value: "B_Value"
- key: "MDC.A"
  value: "A_Value"
{code}

or should it be:
{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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org