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

2
.gitignore vendored
View File

@ -17,7 +17,7 @@
*.nar
*.ear
*.zip
*.tar.gz
*.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml

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>