Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 15:00:11 +01:00
e73b7f5941
TerminalConsoleAppender lets us use the legacy colors on their own, so don't do our own ANSI handling.
25 Zeilen
1.2 KiB
XML
25 Zeilen
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Configuration status="WARN">
|
|
<Appenders>
|
|
<TerminalConsole name="TerminalConsole">
|
|
<PatternLayout pattern="[%d{HH:mm:ss} %style{%highlight{%level}{FATAL=red dark, ERROR=red, WARN=yellow bright, INFO=cyan bright, DEBUG=green, TRACE=white}}] %minecraftFormatting{%msg}%n"/>
|
|
</TerminalConsole>
|
|
<Console name="Console" target="SYSTEM_OUT" follow="true">
|
|
<PatternLayout pattern="[%d{HH:mm:ss} %style{%highlight{%level}{FATAL=red dark, ERROR=red, WARN=yellow bright, INFO=cyan bright, DEBUG=green, TRACE=white}}] %minecraftFormatting{%msg}%n"/>
|
|
</Console>
|
|
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
|
|
<PatternLayout pattern="[%d{HH:mm:ss.SSS} %t/%level] %minecraftFormatting{%msg}{strip}%n"/>
|
|
<Policies>
|
|
<TimeBasedTriggeringPolicy/>
|
|
<OnStartupTriggeringPolicy/>
|
|
</Policies>
|
|
</RollingRandomAccessFile>
|
|
</Appenders>
|
|
<Loggers>
|
|
<Root level="INFO">
|
|
<AppenderRef ref="TerminalConsole"/>
|
|
<AppenderRef ref="Console"/>
|
|
<AppenderRef ref="File"/>
|
|
</Root>
|
|
</Loggers>
|
|
</Configuration> |