Last active
August 29, 2015 14:03
-
-
Save tonybruess/fb8ed3ba605b6d02e113 to your computer and use it in GitHub Desktop.
Overcast's custom log4j2 config
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"?> | |
<Configuration status="WARN" packages="net.minecraft,com.mojang.util"> | |
<Appenders> | |
<Console name="WINDOWS_COMPAT" target="SYSTEM_OUT"></Console> | |
<Queue name="TerminalConsole"> | |
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n"/> | |
</Queue> | |
<RollingRandomAccessFile name="Server" fileName="/minecraft/logs/alpha/server.log" filePattern="/minecraft/logs/alpha/server-%d{yyyy-MM-dd}-%i.log.gz"> | |
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n"/> | |
<Policies> | |
<TimeBasedTriggeringPolicy/> | |
<OnStartupTriggeringPolicy/> | |
</Policies> | |
</RollingRandomAccessFile> | |
</Appenders> | |
<Loggers> | |
<Root level="info"> | |
<Filters> | |
<MarkerFilter marker="NETWORK_PACKETS" onMatch="DENY" onMismatch="NEUTRAL"/> | |
</Filters> | |
<AppenderRef ref="WINDOWS_COMPAT"/> | |
<AppenderRef ref="Server"/> | |
<AppenderRef ref="TerminalConsole"/> | |
</Root> | |
</Loggers> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment