You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2021/03/21 23:20:00 UTC

[jira] [Closed] (LOG4J2-3050) Allow GelfLayout to skip fields that are null or empty

     [ https://issues.apache.org/jira/browse/LOG4J2-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers closed LOG4J2-3050.
-------------------------------
    Resolution: Fixed

Patch applied.

> Allow GelfLayout to skip fields that are null or empty
> ------------------------------------------------------
>
>                 Key: LOG4J2-3050
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3050
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Layouts
>    Affects Versions: 2.14.1
>            Reporter: Ralph Goers
>            Assignee: Ralph Goers
>            Priority: Major
>             Fix For: 2.15.0
>
>
> It is annoying to see empty fields in Kibana. This change allows AdditionalField declarations to be ignored in the GelfLayout when they have no value or the value is a string of zero length.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)