PaperMC/Spigot-Server-Patches/0028-Don-t-log-debug-information.patch

33 lines
1 KiB
Diff

From dae0d90aa3e356673e9f24e46517e3631aff4974 Mon Sep 17 00:00:00 2001
From: Dmck2b <suddenly@suddenly.coffee>
Date: Mon, 4 Aug 2014 02:56:23 +0100
Subject: [PATCH] Don't log debug information
diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml
index adc0181..468dfea 100644
--- a/src/main/resources/log4j2.xml
+++ b/src/main/resources/log4j2.xml
@@ -14,14 +14,13 @@
</RollingRandomAccessFile>
</Appenders>
<Loggers>
- <Root level="all">
+ <Root level="info">
<filters>
<MarkerFilter marker="NETWORK_PACKETS" onMatch="DENY" onMismatch="NEUTRAL" />
</filters>
- <AppenderRef ref="WINDOWS_COMPAT" level="info"/>
+ <AppenderRef ref="WINDOWS_COMPAT"/>
<AppenderRef ref="File"/>
- <AppenderRef ref="TerminalConsole" level="info"/>
+ <AppenderRef ref="TerminalConsole"/>
</Root>
</Loggers>
-</Configuration>
-
+</Configuration>
\ No newline at end of file
--
1.8.4.msysgit.0