[
https://issues.apache.org/jira/browse/LOG4J2-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126702#comment-14126702
]
Benedikt Westphal commented on LOG4J2-818:
------------------------------------------
# MapRewritePolicy only works with MapMessage and not for normal log statements.
# RewriteAppender is very ressource expensive because it has to modify an
immutable object by recreating it with new properties.
So, no, it is not what i am looking for.
> Missing field 'application' in SocketAppender/SerializedLayout/LogEvent
> -----------------------------------------------------------------------
>
> Key: LOG4J2-818
> URL: https://issues.apache.org/jira/browse/LOG4J2-818
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders, Layouts
> Affects Versions: 2.0.2
> Reporter: Benedikt Westphal
>
> The SocketAppender in Log4j1 had a field called 'application' that is missing
> in the SocketAppender and in the LogEvent of Log4j2. After migration you
> could not see which application was logging which logmessages on the logging
> server. The Log4jLogEvent and the SocketAppender should be enhanced to hold
> this information.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]