Package org.nuxeo.log4j
Class MaskSensitiveDataRewritePolicy
- java.lang.Object
-
- org.nuxeo.log4j.MaskSensitiveDataRewritePolicy
-
- All Implemented Interfaces:
org.apache.logging.log4j.core.appender.rewrite.RewritePolicy
@Plugin(name="MaskSensitiveData", category="Core", elementType="rewritePolicy") public final class MaskSensitiveDataRewritePolicy extends Object implements org.apache.logging.log4j.core.appender.rewrite.RewritePolicy
- Since:
- 11.5
-
-
Constructor Summary
Constructors Constructor Description MaskSensitiveDataRewritePolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaskSensitiveDataRewritePolicy
createPolicy()
protected String
maskSensitive(String msg)
org.apache.logging.log4j.core.LogEvent
rewrite(org.apache.logging.log4j.core.LogEvent source)
-
-
-
Field Detail
-
redactor
protected Redactor redactor
-
-
Method Detail
-
rewrite
public org.apache.logging.log4j.core.LogEvent rewrite(org.apache.logging.log4j.core.LogEvent source)
- Specified by:
rewrite
in interfaceorg.apache.logging.log4j.core.appender.rewrite.RewritePolicy
-
createPolicy
@PluginFactory public static MaskSensitiveDataRewritePolicy createPolicy()
-
-