You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Carter Kozak (Jira)" <ji...@apache.org> on 2020/07/16 20:39:00 UTC

[jira] [Resolved] (LOG4J2-2837) Fully asynchronous logging results in two disruptors being created

     [ https://issues.apache.org/jira/browse/LOG4J2-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carter Kozak resolved LOG4J2-2837.
----------------------------------
    Resolution: Fixed

> Fully asynchronous logging results in two disruptors being created
> ------------------------------------------------------------------
>
>                 Key: LOG4J2-2837
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2837
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.13.2
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Major
>             Fix For: 2.14.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> While looking into a hang (unsure if it's related) I found that there were two "Log4j2-TF-AsyncLogger[context]-*" threads running.
> We end up re-initializing the logger internally when a Disruptor instance is created because it also requests a logger. It doesn't appear as though this results in an incorrect background thread ID, but the intermediate thread is leaked.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)