You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2015/12/01 16:20:10 UTC

[jira] [Created] (LOG4J2-1209) LoggerContext.stop() hangs indefinitely if any Appender's stop() method hangs

Mikael Ståldal created LOG4J2-1209:
--------------------------------------

             Summary: LoggerContext.stop() hangs indefinitely if any Appender's stop() method hangs
                 Key: LOG4J2-1209
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1209
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.4.1
            Reporter: Mikael Ståldal


{{LoggerContext.stop()}} hangs indefinitely if any Appender's {{stop()}} method hangs.

It is not possible to protect from this by wrapping a problematic Appender in AsyncAppender since {{LoggerContext.stop()}} will stop all appenders no matter how they are used.

We have some Appenders which can hang forever, see [https://issues.apache.org/jira/browse/LOG4J2-1191].




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org