2020-03-20 21:29:52 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<Configuration status="WARN" packages="com.mojang.util">
|
|
|
|
<Appenders>
|
|
|
|
<Console name="SysOut" target="SYSTEM_OUT">
|
|
|
|
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg%n" />
|
|
|
|
</Console>
|
2021-11-14 01:17:20 +00:00
|
|
|
<Queue name="TerminalConsole">
|
2020-03-20 21:29:52 +00:00
|
|
|
<PatternLayout pattern="[%d{HH:mm:ss} %level]: %msg%n" />
|
|
|
|
</Queue>
|
|
|
|
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
|
|
|
|
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg%n" />
|
|
|
|
<Policies>
|
|
|
|
<TimeBasedTriggeringPolicy />
|
|
|
|
<OnStartupTriggeringPolicy />
|
|
|
|
</Policies>
|
|
|
|
<DefaultRolloverStrategy>
|
|
|
|
<Delete basePath="logs">
|
|
|
|
<IfFileName glob="*.log.gz" />
|
|
|
|
<IfLastModified age="7d" />
|
|
|
|
</Delete>
|
|
|
|
</DefaultRolloverStrategy>
|
|
|
|
</RollingRandomAccessFile>
|
|
|
|
</Appenders>
|
|
|
|
<Loggers>
|
|
|
|
<Root level="info">
|
|
|
|
<filters>
|
|
|
|
<MarkerFilter marker="NETWORK_PACKETS" onMatch="DENY" onMismatch="NEUTRAL" />
|
|
|
|
</filters>
|
|
|
|
<AppenderRef ref="SysOut"/>
|
|
|
|
<AppenderRef ref="File"/>
|
2021-11-14 01:17:20 +00:00
|
|
|
<AppenderRef ref="TerminalConsole"/>
|
2020-03-20 21:29:52 +00:00
|
|
|
</Root>
|
|
|
|
</Loggers>
|
|
|
|
</Configuration>
|