You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2022/01/17 22:30:00 UTC

[jira] [Assigned] (LOG4J2-2862) Add Masking to JsonTemplateLayout

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

Volkan Yazici reassigned LOG4J2-2862:
-------------------------------------

    Assignee: Volkan Yazici

> 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
>            Assignee: Volkan Yazici
>            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)