aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0774-Update-Log4j.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0774-Update-Log4j.patch')
-rw-r--r--patches/server/0774-Update-Log4j.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/server/0774-Update-Log4j.patch b/patches/server/0774-Update-Log4j.patch
new file mode 100644
index 0000000000..48d47942a8
--- /dev/null
+++ b/patches/server/0774-Update-Log4j.patch
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: darbyjack <[email protected]>
+Date: Thu, 9 Dec 2021 19:17:02 -0600
+Subject: [PATCH] Update Log4j
+
+
+diff --git a/build.gradle.kts b/build.gradle.kts
+index 30a600ef1dfedc1a050268af593074659382bc36..039891cc7ffd355f2d4c1cd202a042bf061ddfa8 100644
+--- a/build.gradle.kts
++++ b/build.gradle.kts
+@@ -20,10 +20,11 @@ dependencies {
+ all its classes to check if they are plugins.
+ Scanning takes about 1-2 seconds so adding this speeds up the server start.
+ */
+- implementation("org.apache.logging.log4j:log4j-core:2.14.1") // Paper - implementation
+- annotationProcessor("org.apache.logging.log4j:log4j-core:2.14.1") // Paper - Needed to generate meta for our Log4j plugins
++ implementation("org.apache.logging.log4j:log4j-core:2.17.1") // Paper - implementation
++ annotationProcessor("org.apache.logging.log4j:log4j-core:2.17.1") // Paper - Needed to generate meta for our Log4j plugins
+ // Paper end
+ implementation("org.apache.logging.log4j:log4j-iostreams:2.17.1") // Paper
++ implementation("org.apache.logging.log4j:log4j-slf4j18-impl:2.17.1") // Paper
+ implementation("org.ow2.asm:asm:9.3")
+ implementation("org.ow2.asm:asm-commons:9.3") // Paper - ASM event executor generation
+ implementation("org.spongepowered:configurate-yaml:4.1.2") // Paper - config files