-
Notifications
You must be signed in to change notification settings - Fork 5
/
production.xml
45 lines (37 loc) · 1.86 KB
/
production.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<configuration>
<conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel" />
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%coloredLevel %logger{15} - %message%n%xException{10}</pattern>
</encoder>
</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>
<shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/>
<logger name="play" level="INFO"/>
<logger name="application" level="WARN"/>
<logger name="org.apache" level="WARN"/>
<logger name="httpclient" level="WARN"/>
<logger name="models" level="INFO"/>
<logger name="controllers" level="INFO"/>
<!-- Off these ones as they are annoying, and anyway we manage configuration ourselves -->
<logger name="com.avaje.ebean.config.PropertyMapLoader" level="OFF"/>
<logger name="com.avaje.ebeaninternal.server.core.XmlConfigLoader" level="OFF"/>
<logger name="com.avaje.ebeaninternal.server.lib.BackgroundThread" level="OFF"/>
<logger name="com.gargoylesoftware.htmlunit.javascript" level="OFF"/>
<logger name="ru.yandex.clickhouse.ClickHouseDriver" level="OFF"/>
<logger name="com.zaxxer.hikari.pool.HikariPool" level="OFF"/>
<logger name="com.sksamuel.elastic4s.http.ResponseHandler" level="OFF"/>
<logger name="akka" level="ERROR"/>
<root level="INFO">
<appender-ref ref="ASYNCSTDOUT"/>
</root>
<shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/>
</configuration>