You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/24 15:34:00 UTC
[jira] [Commented] (LOG4J2-2747) AsyncLogger should clear
RingBufferLogEventTranslator when it's not used
[ https://issues.apache.org/jira/browse/LOG4J2-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002899#comment-17002899 ]
ASF subversion and git services commented on LOG4J2-2747:
---------------------------------------------------------
Commit 81d35d1da08ca39f897c62a94d7c730c969016bc in logging-log4j2's branch refs/heads/release-2.x from Carter Kozak
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=81d35d1 ]
LOG4J2-2747: Fix a memory leak using discard and synchronous queue-full routes
The ring buffer event translator is reset when routes are chosen which
don't clear the object.
> AsyncLogger should clear RingBufferLogEventTranslator when it's not used
> ------------------------------------------------------------------------
>
> Key: LOG4J2-2747
> URL: https://issues.apache.org/jira/browse/LOG4J2-2747
> Project: Log4j 2
> Issue Type: Task
> Reporter: Carter Kozak
> Assignee: Carter Kozak
> Priority: Major
>
> When AsyncLogger logs events using a RingBufferLogEventTranslator and encounters a full queue, the SYNCHRONOUS and DISCARD routes fail to reset the reusable RingBufferLogEventTranslator object.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)