|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
_______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
AsyncAppenderBase.java:
82 @Override
83 public void start() {
...
99 worker.start();
100 super.start();
101 }
Depending on timing the worker Thread may get started before the UnsynchronizedAppenderBase.start is true.
This results the worker thread not even entering the loop, because parent.isStarted() is still false.
215 class Worker extends Thread {
216
217 public void run() {
218 AsyncAppenderBase<E> parent = AsyncAppenderBase.this;
219 AppenderAttachableImpl<E> aai = parent.aai;
220
221 // loop while the parent is started
222 while (parent.isStarted()) {