Hi,
We have a SpringBoot app that uses Logback. It uses Async appender and 
configured as this:

<appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
    <queueSize>10000</queueSize>
    <discardingThreshold>0</discardingThreshold>
    <appender-ref ref="FILE" />
</appender>

<root level="INFO">
    <appender-ref ref="ASYNC" />
</root>

The app (single instance) is configured to have up to 200 Jetty threads. 
Throughput is around 50 POSTs/sec. I find there are 2-4 minute gaps in messages 
logged after 30 minutes. The gaps appear every 20 to 30 minutes. Am I missing 
additional configurations? Also is Async appender the best way to go if logging 
fidelity is of high importance? If not what is the best configuration so not to 
lose any messages. Thanks in advance.
________________________________________________________
MARCUS CHEN - Senior Developer, AWS Certified Developer Associate

marcus.c...@dev9.com<mailto:marcus.c...@dev9.com> <mailto:marcus.c...@dev9.com> 
| dev9.com
Custom Software. Continuous Delivery.

_______________________________________________
logback-user mailing list
logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to