A) Sorry, ExecutorServices.java, line 51 and 76. B) You should discuss that with Gary, and join the discussion on LOG4J2-1748 which shows a weakness with this.
On Jan 11, 2017 6:25 AM, "Apache" <[email protected]> wrote: > > > On Jan 10, 2017, at 2:09 PM, Mikael Ståldal <[email protected]> > wrote: > > > > It seems like ExecutorService.shutdown invokes > executorService.shutdown() twice If timeout is 0. Is this correct? > > A) Do you mean ExecutorServices? I don’t see any code that calls > shutdown() twice. I do see code that calls shutdown() followed by > shutdownNow(). > B) Until you mentioned this I hadn’t even noticed that ExecutorServices > were added to the LoggerContext. I have no idea why that was done. The > whole point of the ConfigurationScheduler is to handle running asynchronous > tasks from one place. Those extra ExecutorServices really should be removed. > > Ralph > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
