aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0846-Update-Log4J.patch
blob: 3a79814c9b193a3b82b7a2a28399231200ffc54e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: darbyjack <admin@glaremasters.me>
Date: Thu, 9 Dec 2021 21:05:20 -0600
Subject: [PATCH] Update Log4J


diff --git a/build.gradle.kts b/build.gradle.kts
index 86e61491936d1b6821bd3776cd95fecf05a9b1b9..c236fe5dc388f8bc0a929f1de04af94c63514208 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -24,11 +24,12 @@ 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 out hex color converter plugin
+    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 out hex color converter plugin
     // Paper end
-    implementation("org.apache.logging.log4j:log4j-iostreams:2.14.1") // Paper
-    implementation("org.apache.logging.log4j:log4j-api:2.14.1") // Paper
+    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.apache.logging.log4j:log4j-api:2.17.1") // Paper
     implementation("org.ow2.asm:asm:9.2")
     implementation("org.ow2.asm:asm-commons:9.2") // Paper - ASM event executor generation
     implementation("com.googlecode.json-simple:json-simple:1.1.1") {