From 79e52a51bdb87c01d4e5a74360c62d53f572924a Mon Sep 17 00:00:00 2001 From: Noah van der Aa Date: Tue, 14 Sep 2021 16:44:06 +0200 Subject: [PATCH] Don't log if debug logging isn't enabled. (#6603) --- ...n-t-log-debug-logging-being-disabled.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/server/0806-Don-t-log-debug-logging-being-disabled.patch diff --git a/patches/server/0806-Don-t-log-debug-logging-being-disabled.patch b/patches/server/0806-Don-t-log-debug-logging-being-disabled.patch new file mode 100644 index 000000000..6ff8025b3 --- /dev/null +++ b/patches/server/0806-Don-t-log-debug-logging-being-disabled.patch @@ -0,0 +1,19 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Noah van der Aa +Date: Tue, 14 Sep 2021 16:24:45 +0200 +Subject: [PATCH] Don't log debug logging being disabled + + +diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java +index ba0e8902e7205bc6da88efd28be70ece04cc1974..ec7938202e3890bccb809a8092362458d0f4ca75 100644 +--- a/src/main/java/org/spigotmc/SpigotConfig.java ++++ b/src/main/java/org/spigotmc/SpigotConfig.java +@@ -382,7 +382,7 @@ public class SpigotConfig + Bukkit.getLogger().info( "Debug logging is enabled" ); + } else + { +- Bukkit.getLogger().info( "Debug logging is disabled" ); ++ // Bukkit.getLogger().info( "Debug logging is disabled" ); // Paper - Don't log if debug logging isn't enabled. + } + } +