[ https://issues.apache.org/jira/browse/LOG4J2-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819168#comment-15819168 ]
Mikael Ståldal commented on LOG4J2-1780: ---------------------------------------- Otherwise, an easy solution would be to create the executor services in start() instead of in setConfiguration(). As far as I can see, creation of them is not dependent on the configuration, so they need not to be recreated when configuration is changed. > LoggerContext does not shut down old executor services when creating new ones > during reconfiguration > ---------------------------------------------------------------------------------------------------- > > Key: LOG4J2-1780 > URL: https://issues.apache.org/jira/browse/LOG4J2-1780 > Project: Log4j 2 > Issue Type: Bug > Components: Core > Affects Versions: 2.7 > Reporter: Mikael Ståldal > > LoggerContext does not shut down old executor services when creating new ones > during reconfiguration in {{LoggerContext.setConfiguration}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org