Paper/patches/server/0829-Don-t-disable-log4j-lookups.patch
2021-12-09 18:02:41 -08:00

20 Zeilen
969 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Nassim Jahnke <jahnke.nassim@gmail.com>
Date: Thu, 9 Dec 2021 21:59:08 +0100
Subject: [PATCH] Don't disable log4j lookups
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
index 461c086d82514d2558d3f472b675305248619d8c..deb33456b5b194a662cbdbacf17752c87f2cecaf 100644
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
@@ -21,7 +21,7 @@ public class Main {
public static boolean useConsole = true;
public static void main(String[] args) {
- System.setProperty("log4j2.formatMsgNoLookups", "true");
+ //System.setProperty("log4j2.formatMsgNoLookups", "true"); // Paper - no...
// Paper start
final String warnWhenLegacyFormattingDetected = String.join(".", "net", "kyori", "adventure", "text", "warnWhenLegacyFormattingDetected");