use xz for log4j2

This commit is contained in:
creeper123123321 2021-03-09 20:48:50 -03:00 committed by GitHub
parent 5cdc531290
commit fb279c68a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
<PatternLayout
pattern="%d{HH:mm:ss} %style{%highlight{%level}{FATAL=red dark, ERROR=red, WARN=yellow bright, INFO=cyan bright, DEBUG=green, TRACE=white}} [%thread] [%logger] %minecraftFormatting{%msg}%n"/>
</TerminalConsole>
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.xz">
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] [%logger] %level{length=1} - %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
@ -20,4 +20,4 @@
<AppenderRef ref="File"/>
</Root>
</Loggers>
</Configuration>
</Configuration>