<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    I'm attempting to update my logback configuration to support client
    connections to my main logger via separate, command-line JVM's using
    another configuration file.  I'm having only limited success.<br>
    <br>
    My biggest problem currently is that the client connections often
    write no more than the first log entry to the server.<br>
    <br>
    Would very much appreciate some help.<br>
    <br>
    My server's logback.xml is as follows:<br>
    <blockquote><configuration scan="true" scanPeriod="30
      seconds"><br>
      <br>
        <statusListener
      class="ch.qos.logback.core.status.OnConsoleStatusListener" /><br>
      <br>
        <conversionRule conversionWord="appName"
      converterClass="com.telesoft.web.LogbackJNDIContextConverter"
      /><br>
        <br>
        <appender name="FILE"
      class="ch.qos.logback.core.rolling.RollingFileAppender"><br>
          <file>${catalina.home}/logs/debug.log</file><br>
      <br>
          <rollingPolicy
      class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"><br>
           
<fileNamePattern>${catalina.home}/logs/debug%i.log</fileNamePattern><br>
            <minIndex>1</minIndex><br>
            <maxIndex>5</maxIndex><br>
          </rollingPolicy><br>
      <br>
          <triggeringPolicy
      class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"><br>
            <maxFileSize>15MB</maxFileSize><br>
          </triggeringPolicy><br>
      <br>
          <encoder><br>
             <pattern>%d{MM/dd
      HH:mm:ss.SSS}|%thread|%X{sessionUserName}|%-5level|%X{debugLevel}|%logger|%replace(%msg%n%ex){'[\n\r]+',
      '~~~'}|%appName{}%n%nopex</pattern><br>
          </encoder><br>
        </appender><br>
      <br>
        <root level="DEBUG"><br>
          <appender-ref ref="FILE" /><br>
        </root><br>
      <br>
        <if condition='isNull("SERVERSOCKETRECEIVERRUNNING")'><br>
          <then><br>
            <receiver
      class="ch.qos.logback.classic.net.server.ServerSocketReceiver"><br>
              <port>3636</port><br>
            </receiver><br>
          </then><br>
        </if><br>
      </configuration><br>
    </blockquote>
    And the client xml thus:<br>
    <blockquote><configuration><br>
        <br>
        <appender name="SOCKET"
      class="ch.qos.logback.classic.net.SocketAppender"><br>
          <remoteHost>127.0.0.1</remoteHost><br>
          <port>3636</port><br>
        </appender><br>
      <br>
        <root level="ERROR"><br>
          <appender-ref ref="SOCKET" /><br>
        </root>  <br>
      <br>
      </configuration><br>
    </blockquote>
    <div class="moz-signature">-- <br>
      <style type="text/css">
<!--
a:link {
        color: #274F8F;
}
-->
</style>
      <p> </p>
      <p><span style="padding-bottom: 1em; padding-top: 1em; color:
          #274F8F; font-weight: bold; font-size: 14px; font-family:
          Verdana, Geneva, sans-serif;">Scott Dudley</span> <span
          style="margin-bottom: 6px; margin-top: 6px; color: 666666;
          font-size: 14px; font-family: Verdana, Geneva, sans-serif;">|</span>
        <span style="padding-left: 0em; padding-bottom: 1em;
          padding-right: 0em; padding-top: 1em; font-weight: normal;
          font-size: 14px; font-family: Verdana, Geneva, sans-serif;
          color: #79B832;">Senior Developer</span></p>
      <p><span style="color: #666666; font-size: 12px; font-family:
          Verdana, Geneva, sans-serif;">Telesoft | 1661 E. Camelback
          Road, Suite 300 | Phoenix, AZ 85016<br>
          <span style="font-weight: bold; color: #E78923;">P</span>:
          602.308.1115 | <span style="font-weight: bold; color:
            #E78923;">F</span>: 602.308.1300 | <span
            style="font-weight: bold; color: #E78923;">W</span>: <a
href="http://www.telesoft.com/?utm_source=signature&utm_medium=email&utm_campaign=2012">www.telesoft.com</a></span></p>
      <p><span style="color: #666666; font-size: 12px; font-family:
          Verdana, Geneva, sans-serif;"><a
href="http://www.telesoft.com/blog?utm_source=signature&utm_medium=email&utm_campaign=2012">TEM
            Edge Blog</a> | <a
            href="http://www.linkedin.com/company/telesoft-corp.">LinkedIn</a>
          | <a href="http://www.twitter.com/_Telesoft">Twitter</a></span></p>
    </div>
  </body>
</html>