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 "Remko Popma (JIRA)" <ji...@apache.org> on 2016/08/08 16:55:20 UTC

[jira] [Comment Edited] (LOG4J2-667) Add customization for JSON Layout keys and values

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

Remko Popma edited comment on LOG4J2-667 at 8/8/16 4:54 PM:
------------------------------------------------------------

I have trouble seeing how the %escape idea would work. Can you provide an example of how the JsonLayout would be configured to show all LogEvent fields except threadId and threadPriority?


was (Author: remkop@yahoo.com):
I have trouble seeing how the %escape idea would work. Can you provide an example of how the JsonLayout would be configured with %escape to show all LogEvent fields except threadId and threadPriority?

> 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org