Hi Team,<br /><br />We are planning to logback using AsyncAppender we are noticing the logs getting missed.<br /><br />we already have the below setting for AsyncAppender<pre style="background-color:#ffffff;color:#000000;font-family:'Menlo';font-size:9,0pt;"><span style="background-color:#efefef;"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">appender </span><span style="color:#0000ff;background-color:#efefef;font-weight:bold;">name</span><span style="color:#008000;background-color:#efefef;font-weight:bold;">="ASYNC_CONSOLE" </span><span style="color:#0000ff;background-color:#efefef;font-weight:bold;">class</span><span style="color:#008000;background-color:#efefef;font-weight:bold;">="ch.qos.logback.classic.AsyncAppender"</span><span style="background-color:#efefef;">></span>
<span style="background-color:#efefef;"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">queueSize</span><span style="background-color:#efefef;">></span>100000<span style="background-color:#efefef;"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">queueSize</span><span style="background-color:#efefef;">></span>
<span style="background-color:#efefef;"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">discardingThreshold</span><span style="background-color:#efefef;">></span>0<span style="background-color:#efefef;"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">discardingThreshold</span><span style="background-color:#efefef;">></span>
<span style="background-color:#efefef;"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">neverBlock</span><span style="background-color:#efefef;">></span>true<span style="background-color:#efefef;"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">neverBlock</span><span style="background-color:#efefef;">></span>
<span style="background-color:#efefef;"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">appender-ref </span><span style="color:#0000ff;background-color:#efefef;font-weight:bold;">ref</span><span style="color:#008000;background-color:#efefef;font-weight:bold;">="STDOUT" </span><span style="background-color:#efefef;">/></span>
<span style="background-color:#efefef;"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">appender</span><span style="background-color:#efefef;">>
</span>
When we run a small load test ie 10 RPS for 5 minutes ie for 3000 request we are getting all the logs in the stackdriver but when we try to increase the RPS ie., 40 RPS for 5 mins out of 12,000 request we could see around 30% logs are not getting logged ie., around 8000 we are getting in the GCP stackdriver
Please suggest if we need to have any tunning parameter while using logback also how can I debug this issue.
Thanks
Narendhiran
</pre><br /><br /> <br>