<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
David<br>
<br>
To follow up: I examined the Logback source code in the repo.
Specifically, the class <a moz-do-not-send="true"
href="https://github.com/qos-ch/logback/blob/master/logback-core/src/main/java/ch/qos/logback/core/AsyncAppenderBase.java">AsyncAppenderBase</a>.
It appears as if this is a design issue. To get it to work the way
we want, Logback code would need to be refactored. Each appender is
assigned its own worker thread. The worker thread is started when
the appender is started. I guess the designers of logback hadn't
anticipated a scenario where many appenders would be used.<br>
<br>
public void start() {<br>
..<br>
worker.setDaemon(true);<br>
worker.setName("AsyncAppender-Worker-" + getName());<br>
super.start();<br>
worker.start();<br>
}<br>
<br>
Cheers<br>
Jamie<br>
<br>
<div class="moz-cite-prefix">On 2017/12/15 09:37, Jamie wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2ccd7160-0b6a-dc2b-72c3-b51ac3e8ed87@stimulussoft.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<font face="Helvetica, Arial, sans-serif">David<br>
<br>
Thanks for your consideration. You seem to imply this shouldn't
be happening. If so, that's great. The below initAppenders()
function is called on startup of the server. Perhaps the way the
appenders are being initialized and started</font><font
face="Helvetica, Arial, sans-serif"><font face="Helvetica,
Arial, sans-serif"> is causing the behavior. </font>Is there
an alternative?<br>
</font><br>
</blockquote>
<br>
</body>
</html>