Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0.13
-
None
Description
AsyncAppenderBase swallows InterruptedException and thereby clears the interrupt flag. This affects my interrupt handling.
Is this really intended behaviour?
Offending code:
try { blockingQueue.put(eventObject); } catch (InterruptedException e) { }
Test case:
Thread.currentThread().interrupt(); logger.debug("Something"); assertTrue(Thread.currentThread().isInterrupted());
Attachments
Issue Links
- relates to (in)
-
LOGBACK-1382 AsyncAppender#putUninterruptibly may loop forever
- Open