logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Ståldal (JIRA) <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-667) Add customization for JSON Layout keys and values
Date Mon, 08 Aug 2016 11:54:20 GMT

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

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

Why is is important for you to exclude e.g. {{threadId}}? Why not just ignore it if you don't
need it?

It would make sense to be able to exclude the throwable though, since the stacktrace can be
quite large.

> 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


Mime
View raw message