[ https://issues.apache.org/jira/browse/LOG4J2-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277695#comment-16277695 ]
Matt Sicker commented on LOG4J2-667: ------------------------------------ That's a relatively new feature. I originally added JSON escaping to pattern layouts so I could create an easy Slack webhook appender (using the HttpAppender) with a custom JSON payload, but the same general idea applies to any custom JSON layout. > 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.4.14#64029)