« 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=13135255#comment-13135255 ]

scott deboy commented on LOG4J2-54:
-----------------------------------

Are logging events immutable?  Curious how you will add support for the RewriteAppender & policies if that's the case.
               

> 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