logback / LOGBACK-1522 [Open] SocketAppender blocks ReconfigureOnChangeTask
============================== Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/LOGBACK-1522 ============================== Issue created ------------------------------ Wolfgang Deifel created this issue on 11/Aug/20 1:42 PM Summary: SocketAppender blocks ReconfigureOnChangeTask Issue Type: Bug Affects Versions: 1.3.0-alpha4 Assignee: Logback dev list Components: logback-classic Created: 11/Aug/20 1:42 PM Environment: Windows 10 Pro Priority: Critical Reporter: Wolfgang Deifel Description: When logback.xml configures a scan period it starts a repeating thread ReconfigureOnChangeTask using context.getScheduledExecutorService(). When starting a SocketAppender it uses the same getContext().getScheduledExecutorService() (in AbstractSocketAppender) to run the background Thread. Unfortuntely, this scheduledExecutorService has only one thread in its core pool and cannot add additional workers. So when starting the socketAppender the ReconfigureOnChangeTask is blocked an will never check the configuration file for updates. ============================== This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59) _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev