geforkt von Mirrors/Velocity
25b5e00125
Fixes #125
31 Zeilen
1.1 KiB
XML
31 Zeilen
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Configuration status="warn">
|
|
<Appenders>
|
|
<TerminalConsole name="TerminalConsole">
|
|
<PatternLayout>
|
|
<LoggerNamePatternSelector
|
|
defaultPattern="%highlightError{[%d{HH:mm:ss} %level] [%logger]: %minecraftFormatting{%msg}%n%xEx}">
|
|
<!-- Velocity doesn't need a prefix -->
|
|
<PatternMatch key="com.velocitypowered."
|
|
pattern="%highlightError{[%d{HH:mm:ss} %level]: %minecraftFormatting{%msg}%n%xEx}"/>
|
|
</LoggerNamePatternSelector>
|
|
</PatternLayout>
|
|
</TerminalConsole>
|
|
<RollingRandomAccessFile name="File" fileName="logs/latest.log"
|
|
filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz"
|
|
immediateFlush="false">
|
|
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %minecraftFormatting{%msg}{strip}%n"/>
|
|
<Policies>
|
|
<TimeBasedTriggeringPolicy/>
|
|
<OnStartupTriggeringPolicy/>
|
|
</Policies>
|
|
</RollingRandomAccessFile>
|
|
</Appenders>
|
|
|
|
<Loggers>
|
|
<Root level="info">
|
|
<AppenderRef ref="TerminalConsole"/>
|
|
<AppenderRef ref="File"/>
|
|
</Root>
|
|
</Loggers>
|
|
</Configuration> |