https://issues.apache.org/bugzilla/show_bug.cgi?id=44745
Summary: AsyncAppender fails on changing Throwable Product: Log4j Version: 1.2 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Appender AssignedTo: log4j-dev@logging.apache.org ReportedBy: [EMAIL PROTECTED] Created an attachment (id=21776) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21776) The proposed patch. If I use an AsyncAppender to log a Throwable object that is changed after the call of the logging method, the logging will sometime show up the value changed afterwards. (This issue is similar to Bug #43599, excepts that it concerns Throwables). I propose the following fix (again, same as revision #587252): in AsyncAppender#append: event.getRenderedMessage(); + event.getThrowableStrRep(); ... which assures that the ThrowableInformation is correctly initialized, and will not change afterwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]