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

Danny Sullivan commented on LOG4J2-667:
---------------------------------------

Hey Ralph, thanks for the speedy response. I was referring to the ability to 
add the MDC to the json layout, which I don't believe is supported if I'm 
correct. I was thinking something along the lines of:

<JSONLayout>
     <mdc>
     <message>
     <date>
     <etc...>
</JSONLayout>

Does that sound like a reasonable design choice? I still do really like the 
idea of a default output if only <JSONLayout/> is passed in. 

> Add customization for JSON Layout keys and values
> -------------------------------------------------
>
>                 Key: LOG4J2-667
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-667
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: Danny Sullivan
>              Labels: JSON
>
> I really like the JSON Layout feature as it's easily parsed by splunk. I 
> would like to see more customization on the type of information that's 
> included in each json message, similar to the Pattern Layout such as MDC and 
> NDC, the locations etc. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to