Fix this does not look like a tar archive error when extract log file

This commit is contained in:
linebear
2022-05-19 05:21:25 +08:00
committed by Melledy
parent efe459e17f
commit 827044b3da
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
<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>
<fileNamePattern>logs/log.%d{yyyy-MM-dd}_%d{HH}.log.gz</fileNamePattern>
<maxHistory>24</maxHistory>
</rollingPolicy>
<encoder>