[
https://issues.apache.org/jira/browse/LOG4J2-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138087#comment-13138087 ]
Ralph Goers commented on LOG4J2-54:
-----------------------------------
I added the RewriteAppender and RewritePolicy to the experimental Log4j 2.0. I also added a MapRewritePolicy that can modify a MapMessage.
> Support existing ability to modify any of an event's fields
> -----------------------------------------------------------
>
> Key: LOG4J2-54
> URL:
https://issues.apache.org/jira/browse/LOG4J2-54> Project: Log4j 2
> Issue Type: New Feature
> Reporter: scott deboy
>
> RewriteAppender and RewritePolicy in log4j 1.2 give appender writers the ability to change events before they are sent to appenders. Two examples: adding properties to all events using PropertyRewritePolicy, and X-ing out passwords and sensitive text, logger names truncating stack traces because of sensitive class information.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspaFor more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail:
log4j-dev-unsubscribe@...
For additional commands, e-mail:
log4j-dev-help@...