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/05/07 18:52:00 UTC

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

Carter Kozak created LOG4J2-2837:
------------------------------------

             Summary: 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


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)