Skip to content

Commit

Permalink
Adjust logback async queue size to flush often
Browse files Browse the repository at this point in the history
  • Loading branch information
cupuyc committed Sep 30, 2016
1 parent 5a3ad3b commit f228773
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ethereumj-core/src/main/resources/logback.xml
Expand Up @@ -35,7 +35,9 @@
<!-- Don't discard INFO, DEBUG, TRACE events in case of queue is 80% full -->
<discardingThreshold>0</discardingThreshold>
<!-- Default is 256 -->
<queueSize>500</queueSize>
<!-- Logger will block incoming events (log calls) until queue will free some space -->
<!-- (the smaller value -> flush occurs often) -->
<queueSize>100</queueSize>

<appender-ref ref="FILE" />
</appender>
Expand Down Expand Up @@ -69,5 +71,6 @@
<logger name="discover" level="DEBUG"/>
<logger name="hsqldb.db" level="ERROR"/>


</configuration>

0 comments on commit f228773

Please sign in to comment.