-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Make log4j compatible with future release
- Loading branch information
1 parent
418a7ef
commit aefbc40
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
patches/server/0044-Fix-make-log4j-compatible-with-future-release.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Dreeam <[email protected]> | ||
Date: Wed, 26 Apr 2023 01:59:35 -0400 | ||
Subject: [PATCH] Fix: Make log4j compatible with future release | ||
|
||
This patch fixes the warnning "WARN StatusConsoleListener The use of package scanning to locate plugins is deprecated and will be removed in a future release" during server launching. | ||
|
||
diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml | ||
index 74ccc67e3c12dc5182602fb691ef3ddeb5b53280..9804bcae3439aaf9a9d477f9ab2494caa899ec1e 100644 | ||
--- a/src/main/resources/log4j2.xml | ||
+++ b/src/main/resources/log4j2.xml | ||
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
-<Configuration status="WARN" packages="com.mojang.util" shutdownHook="disable"> | ||
+<Configuration status="WARN" shutdownHook="disable"> | ||
<Appenders> | ||
<Queue name="ServerGuiConsole"> | ||
<PatternLayout pattern="[%d{HH:mm:ss} %level]: %msg%n" /> |