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

Matt Sicker updated LOG4J2-2862:
--------------------------------
    Component/s: JsonTemplateLayout

> Add Masking to JsonTemplateLayout
> ---------------------------------
>
>                 Key: LOG4J2-2862
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2862
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: JsonTemplateLayout, Layouts
>            Reporter: Peter Podniesinski
>            Priority: Minor
>
> Today our team manages our own custom JsonMaskingLayout since we work with 
> NPI data and we need that data to be obfuscated prior to creating a log file.
> We would like to use JsonLayout instead of managing our own custom layout. 
> Something along the lines of providing a `maskingRegex` option to the 
> JsonLayout and replacing the text with an asterisk would be a good simple 
> start.
>  
> -----
> If there are other alternatives to masking do let me know. So far I am only 
> aware of pattern converters which are great for STD_OUT or custom Layouts.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to