forked from ride-austin/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logback.xml
55 lines (45 loc) · 1.71 KB
/
logback.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
46
47
48
49
50
51
52
53
54
55
<configuration debug="true">
<appender name="catalina" class="ch.qos.logback.core.rolling.RollingFileAppender">
<encoder>
<pattern>%d [%thread] %-5level %logger - %msg%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>logs/catalina.%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>3</maxHistory>
</rollingPolicy>
</appender>
<appender name="quartz" class="ch.qos.logback.core.rolling.RollingFileAppender">
<encoder>
<pattern>%d %p - %m%n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>logs/quartz.%d{yyyy-MM-dd}.log</fileNamePattern>
<maxHistory>3</maxHistory>
</rollingPolicy>
</appender>
<appender name="flyway" class="ch.qos.logback.core.FileAppender">
<file>logs/flyway.log</file>
<encoder>
<pattern>%d %p - %m%n</pattern>
</encoder>
</appender>
<appender name="async.default" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="catalina" />
</appender>
<appender name="async.quartz" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="quartz" />
</appender>
<appender name="async.flyway" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="flyway" />
</appender>
<logger name="org.quartz" level="info" additivity="false">
<appender-ref ref="async.quartz"/>
</logger>
<logger name="org.flywaydb" level="info" additivity="false">
<appender-ref ref="async.flyway"/>
</logger>
<root level="info">
<appender-ref ref="async.default"/>
</root>
<shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/>
</configuration>