Greg created LOGBACK-1354:
-----------------------------
Summary: Errors cause AsyncAppender's worker thread to terminate
causing halting
Key: LOGBACK-1354
URL: https://jira.qos.ch/browse/LOGBACK-1354
Project: logback
Issue Type: Bug
Components: logback-core
Affects Versions: 1.2.3
Environment: (Not environment specific.)
Reporter: Greg
Assignee: Logback dev list
The AsyncAppender worker thread, defined in AsyncAppenderBase, consumes log
entries from a bounded blocking queue. Should this worker thread terminate
prematurely for any reason and the AsyncAppender be configured as blocking
(neverBlock=false) the queue fills and any calls to log block indefinitely.
The worker thread is currently indirectly tolerant of exceptions thrown by an
appender, due to the exception handling in AppenderBase.doAppend, but this
exception handling does not cover other Throwable types.
Ideally, the AsyncAppender worker thread should do everything possible to stay
alive while the appender is started.
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev