mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-21 11:55:15 +01:00
use gz for logs
This commit is contained in:
parent
6e9fe83bcc
commit
ccfed4f20c
@ -64,7 +64,6 @@ dependencies {
|
||||
implementation("net.minecrell:terminalconsoleappender:1.2.0")
|
||||
implementation("org.jline:jline-terminal-jansi:3.19.0")
|
||||
implementation("org.apache.commons:commons-compress:1.20")
|
||||
implementation("org.tukaani:xz:1.9")
|
||||
|
||||
val ktorVersion = "1.5.3"
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
|
@ -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.xz">
|
||||
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
|
||||
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss} [%t] [%logger] %level{length=1} %msg%n"/>
|
||||
<Policies>
|
||||
<TimeBasedTriggeringPolicy/>
|
||||
@ -14,7 +14,7 @@
|
||||
<OnStartupTriggeringPolicy/>
|
||||
</Policies>
|
||||
</RollingRandomAccessFile>
|
||||
<RollingRandomAccessFile name="DebugFile" fileName="logs/debug.log" filePattern="logs/debug-%i.log.xz">
|
||||
<RollingRandomAccessFile name="DebugFile" fileName="logs/debug.log" filePattern="logs/debug-%i.log.gz">
|
||||
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss} [%t] [%logger] %level{length=1} %msg%n"/>
|
||||
<Policies>
|
||||
<SizeBasedTriggeringPolicy size="5 MB"/>
|
||||
|
Loading…
Reference in New Issue
Block a user