[logback-user] not logging every message even with discardingThreshold set to 0

Marcus Chen marcus.chen at dev9.com
Fri May 6 18:59:14 UTC 2016

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">
    <appender-ref ref="FILE" />

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

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.chen at dev9.com<mailto:marcus.chen at dev9.com> <mailto:marcus.chen at dev9.com> | dev9.com
Custom Software. Continuous Delivery.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20160506/cd49b5bc/attachment.html>

More information about the logback-user mailing list