2022-04-17 12:43:07 +00:00
|
|
|
<Configuration>
|
|
|
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
|
|
|
<encoder>
|
2022-04-19 02:10:51 +00:00
|
|
|
<pattern>[%d{HH:mm:ss}] [%highlight(%level)] %msg%n</pattern>
|
2022-04-17 12:43:07 +00:00
|
|
|
</encoder>
|
|
|
|
</appender>
|
2022-04-22 05:05:06 +00:00
|
|
|
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
|
<file>logs/latest.log</file>
|
|
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
|
<fileNamePattern>logs/log.%d{yyyy-MM-dd}_%d{HH}.log.tar.gz</fileNamePattern>
|
|
|
|
<maxHistory>24</maxHistory>
|
|
|
|
</rollingPolicy>
|
|
|
|
<encoder>
|
|
|
|
<pattern>%d{yyyy-MM-dd'T'HH:mm:ss'Z'} - %m%n</pattern>
|
|
|
|
</encoder>
|
|
|
|
</appender>
|
2022-04-17 12:43:07 +00:00
|
|
|
<logger name="org.reflections" level="OFF"/>
|
|
|
|
<root level="INFO">
|
|
|
|
<appender-ref ref="STDOUT" />
|
2022-04-22 05:05:06 +00:00
|
|
|
<appender-ref ref="FILE" />
|
2022-04-17 12:43:07 +00:00
|
|
|
</root>
|
|
|
|
</Configuration>
|