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 17:22:00 UTC

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

Ralph Goers created LOG4J2-3050:
-----------------------------------

             Summary: 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
             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)