logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Ståldal (JIRA) <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1209) LoggerContext.stop() hangs indefinitely if any Appender's stop() method hangs
Date Wed, 02 Dec 2015 09:42:11 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035550#comment-15035550
] 

Mikael Ståldal commented on LOG4J2-1209:
----------------------------------------

We have a similar issue with {{LoggerContext.start()}} and Appender's {{start()}} method.
Should it be handled in the same way, or should I create a separate ticket for it?

> 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.



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


Mime
View raw message