<div dir="ltr">Hello, <div><br></div><div>I am having issues using the Asyncappender for logback with the following configuration.</div><div><br></div><div><snip></div><div><div><?xml version="1.0" encoding="UTF-8"?></div><div><configuration></div><div><br></div><div>  <!-- Access Logging --></div><div>  <appender name="accessLog" class="ch.qos.logback.core.rolling.RollingFileAppender"></div><div>    <file>/mnt/log/jetty/jetty_access.log</file></div><div>    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"></div><div>      <param name="FileNamePattern" value="/mnt/log/jetty/jetty_access.log.%d{yy-MM-dd}.gz" /></div><div>      <maxHistory>7</maxHistory></div><div>      <maxFileSize>1M</maxFileSize></div><div>    </rollingPolicy></div><div>    <layout class="ch.qos.logback.access.PatternLayout"></div><div>      <param name="Pattern" value='{</div><div>        "@timetamp":  "%date",</div><div>        "clientip": "%i{x-forwarded-for}",</div><div>        "urlpath": "%requestURI",</div><div>        "status": %statusCode,</div><div>        "method": "%requestMethod",</div><div>        "referer": "%header{Referer}",</div><div>        "bytes": %bytesSent,</div><div>        "duration": %elapsedTime,</div><div>        "xtid": "%header{X-TID}"}' /></div><div>    </layout></div><div>  </appender></div><div><br></div><div>  <appender name="asyncaccessLog" class="ch.qos.logback.classic.AsyncAppender"></div><div>    <queueSize>500</queueSize></div><div>    <discardingThreshold>80</discardingThreshold></div><div>    <appender-ref ref="accessLog" /></div><div>  </appender></div><div><br></div><div>  <root level="trace"></div><div>    <appender-ref ref="asyncaccessLog" /><br></div><div>  </root></div><div><br></div><div></configuration></div></div><div></snip></div><div><br></div><div>It does not write the access data to file.</div><div><br></div><div>However, if I remove the asyncaccessLog appender and the root block.  Then only add the <appender-ref ref="accessLog" /> by it self after </appender> it works with no issue.  It will not work if I am trying to send the accessLog appender through the asyncaccessLog appender.</div><div><br></div><div>Can I get any help here?</div><div><br></div></div>