WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: [jira] [Created] (LOG4J2-54) Support existing ability to modify any of an event's fields

[jira] [Commented] (LOG4J2-54) Support existing ability to modify any of an event's fields

by JIRA jira@apache.org :: Rate this Message:

| View in Thread


    [ 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.jspa
For 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@...

 « Return to Thread: [jira] [Created] (LOG4J2-54) Support existing ability to modify any of an event's fields