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

(cherry picked from commit 7073a41)
  • Loading branch information
ignasi35 authored and octonato committed Mar 28, 2019
1 parent 015f864 commit 1af40d2
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 1af40d2

Please sign in to comment.