You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2012/10/29 00:27:12 UTC
[jira] [Resolved] (LOG4J2-103) Log4jLogEvent proxies ThrowableProxy
objects
[ https://issues.apache.org/jira/browse/LOG4J2-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers resolved LOG4J2-103.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.0-beta3
Assignee: Ralph Goers
Very good work! The patch was applied in revision 1403125. Please verify and close.
> Log4jLogEvent proxies ThrowableProxy objects
> --------------------------------------------
>
> Key: LOG4J2-103
> URL: https://issues.apache.org/jira/browse/LOG4J2-103
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0-beta2
> Reporter: Das Archive
> Assignee: Ralph Goers
> Labels: patch, testcase
> Fix For: 2.0-beta3
>
> Attachments: Log4jLogEvent_ThrowableProxy.patch, MapRewritePolicyTest.java
>
>
> While verifying LOG4J2-99 I stumbled across another small issue:
> When a Log4jLogEvent is reconstructed (in AsynchAppender, MapRewritePolicy or PropertiesRewritePolicy) the ThrowableProxy of the original LogEvent is used to construct the new Log4JLogEvent.
> There the ThrowableProxy is proxied again. During this the package resolution is repeated (mostly with slightly different result).
> I created a patch for Log4JLogEvent to reuse existing ThrowableProxy objects.
> Best Regards,
> Das
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org