Files
AkarinMC/patches-1.16.5/server/0016-Update-Log4j.patch
2025-02-18 18:18:07 +11:00

43 lines
1.8 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Yiyu Si <1486864380@qq.com>
Date: Thu, 17 Mar 2022 22:49:37 +0800
Subject: [PATCH] Update Log4j
diff --git a/pom.xml b/pom.xml
index a65381073fc6d4546280e36bb18a0b2dd54cfa93..570b3ddd0f5eaa3157227c2ec511ab6ff2354a22 100644
--- a/pom.xml
+++ b/pom.xml
@@ -71,19 +71,19 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
- <version>2.8.1</version>
+ <version>2.17.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
- <version>2.8.1</version>
+ <version>2.17.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-iostreams</artifactId>
- <version>2.8.1</version>
+ <version>2.17.1</version>
<scope>compile</scope>
<exclusions>
<!-- included in minecraft-server -->
@@ -277,7 +277,7 @@
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository</exclude>
<exclude>com.mojang.datafixers.util.Either</exclude>
- <exclude>org.apache.logging.log4j/**</exclude>
+ <exclude>org/apache/logging/log4j/**</exclude>
</excludes>
</filter>
</filters>