Skip to content

Commit

Permalink
Tune the AsyncAppender following the overops blogpost on the link (#9114
Browse files Browse the repository at this point in the history
)

* Tune the AsyncAppender following the overops blogpost on the link

* Adds comments on tuned logger
  • Loading branch information
ignasi35 authored and mergify[bot] committed Mar 25, 2019
1 parent cc3098b commit 7073a41
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/play-logback/src/main/resources/logback-play-default.xml
Expand Up @@ -13,6 +13,12 @@
</appender>

<appender name="ASYNCSTDOUT" class="ch.qos.logback.classic.AsyncAppender">
<!-- increases the default queue size -->
<queueSize>512</queueSize>
<!-- don't discard messages -->
<discardingThreshold>0</discardingThreshold>
<!-- block when queue is full -->
<neverBlock>false</neverBlock>
<appender-ref ref="STDOUT" />
</appender>

Expand Down

0 comments on commit 7073a41

Please sign in to comment.