Summary: | AsyncAppender fails on changing MessageObjects | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Horst Scheruga <horst> |
Component: | Appender | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | other |
Description
Horst Scheruga
2007-10-11 06:02:43 UTC
Committed test and fix in rev 587252. From reviewing the code, it appears that this bug has been in the log4j codebase for an extended time and was preserved (not introduced) in the AsyncAppender rewrite released in log4j 1.2.14. Added a call to getRenderedMessage() which will capture the value of the message object before placing the LoggingEvent on the queue. |