-
-
Save Pokechu22/ad978c531d4e643275f90c8986e4546f to your computer and use it in GitHub Desktop.
Full debug logging config (with milliseconds)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- http://wiki.vg/Debugging --> | |
<Configuration status="WARN" packages="net.minecraft,com.mojang"> | |
<Appenders> | |
<Console name="SysOut" target="SYSTEM_OUT"> | |
<PatternLayout pattern="[%d{HH:mm:ss.SSS}] [%t/%level]: %msg%n" /> | |
</Console> | |
<Queue name="ServerGuiConsole"> | |
<PatternLayout pattern="[%d{HH:mm:ss.SSS} %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.SSS}] [%t/%level]: %msg%n" /> | |
<Policies> | |
<TimeBasedTriggeringPolicy /> | |
<OnStartupTriggeringPolicy /> | |
</Policies> | |
</RollingRandomAccessFile> | |
</Appenders> | |
<Loggers> | |
<Root level="debug"> | |
<AppenderRef ref="SysOut"/> | |
<AppenderRef ref="File"/> | |
<AppenderRef ref="ServerGuiConsole"/> | |
</Root> | |
</Loggers> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment