From a4ed512a939ec1884cf93234f874e4ec957bcfa7 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Fri, 22 Sep 2017 09:47:01 +0200 Subject: [PATCH] Disable logger prefix for various plugins bypassing the plugin logger Some plugins bypass the plugin logger and add the plugin prefix manually to the log message. Since they use other logger names (e.g. qualified class names) these would now also appear in the log. Disable the logger prefix for these plugins so the messages show up correctly. --- ...refix-for-various-plugins-bypassing-.patch | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Spigot-Server-Patches/0241-Disable-logger-prefix-for-various-plugins-bypassing-.patch diff --git a/Spigot-Server-Patches/0241-Disable-logger-prefix-for-various-plugins-bypassing-.patch b/Spigot-Server-Patches/0241-Disable-logger-prefix-for-various-plugins-bypassing-.patch new file mode 100644 index 0000000000..8218f7770c --- /dev/null +++ b/Spigot-Server-Patches/0241-Disable-logger-prefix-for-various-plugins-bypassing-.patch @@ -0,0 +1,39 @@ +From 8f6662b78aa50b814c65312928337c13e61d2de7 Mon Sep 17 00:00:00 2001 +From: Minecrell +Date: Sat, 23 Sep 2017 21:07:20 +0200 +Subject: [PATCH] Disable logger prefix for various plugins bypassing the + plugin logger + +Some plugins bypass the plugin logger and add the plugin prefix +manually to the log message. Since they use other logger names +(e.g. qualified class names) these would now also appear in the +log. Disable the logger prefix for these plugins so the messages +show up correctly. + +diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml +index 9f8334376..6711e6dff 100644 +--- a/src/main/resources/log4j2.xml ++++ b/src/main/resources/log4j2.xml +@@ -5,7 +5,8 @@ + + + +- ++ + + +@@ -14,7 +15,8 @@ + + + +- ++ + + +-- +2.14.1 +