Volkan Yazici created LOG4J2-3053:
-------------------------------------
Summary: Exclude blank fields in JsonWriter and/or
JsonTemplateLayout
Key: LOG4J2-3053
URL: https://issues.apache.org/jira/browse/LOG4J2-3053
Project: Log4j 2
Issue Type: Improvement
Components: JsonTemplateLayout
Reporter: Volkan Yazici
Fix For: 2.15.0
Motivated by [a StackOverflow
question|https://stackoverflow.com/a/66736478/1278899], add support for
excluding _blank_ fields in {{JsonTemplateLayout}}. Ideally this should be
solved in {{JsonWriter}}, but this means it needs to start bookkeeping a state
– I don't know if this is good or bad. (Probably bad?) The other alternative is
to address this in resolvers.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)