From aefbc409f2c31ac4c8c307e29fade5865ef6fcbf Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Wed, 26 Apr 2023 02:16:21 -0400 Subject: [PATCH] Fix: Make log4j compatible with future release --- ...-log4j-compatible-with-future-release.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 patches/server/0044-Fix-make-log4j-compatible-with-future-release.patch diff --git a/patches/server/0044-Fix-make-log4j-compatible-with-future-release.patch b/patches/server/0044-Fix-make-log4j-compatible-with-future-release.patch new file mode 100644 index 00000000..7d037c59 --- /dev/null +++ b/patches/server/0044-Fix-make-log4j-compatible-with-future-release.patch @@ -0,0 +1,18 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> +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 @@ + +- ++ + + +