[
https://issues.apache.org/jira/browse/LOG4J2-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Volkan Yazici reassigned LOG4J2-3119:
-------------------------------------
Assignee: Volkan Yazici
> Create a SubstitutionResolver for JsonTemplateLayout
> ----------------------------------------------------
>
> Key: LOG4J2-3119
> URL: https://issues.apache.org/jira/browse/LOG4J2-3119
> Project: Log4j 2
> Issue Type: Improvement
> Components: JsonTemplateLayout
> Reporter: Raman Gupta
> Assignee: Volkan Yazici
> Priority: Minor
>
> A "SubstitutionResolver" for JsonTemplateLayout would be useful.
> This resolver would be combined with another resolver, and would allow for
> "mapping" values output by another resolver to different values.
> For example, a SubstitutionResolver could map a level resolver output from
> WARN to WARNING.
> A simple text mapping (perhaps with a case-insensitive flag), with
> pass-through for unsubstituted values, would probably be the best approach.
> More complicated scenarios could be addressed with another resolver e.g.
> RegexReplaceResolver.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)