From e36a7522b83109f89b746bd227d410acf0deb62b Mon Sep 17 00:00:00 2001 From: Minecrell Date: Sat, 23 Sep 2017 21:07:20 +0200 Subject: [PATCH] Improve Log4J Configuration / Plugin Loggers Add full exceptions to log4j to not truncate stack traces 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. --- paper-server/src/main/resources/log4j2.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/paper-server/src/main/resources/log4j2.xml b/paper-server/src/main/resources/log4j2.xml index e073707a46..ab1caec640 100644 --- a/paper-server/src/main/resources/log4j2.xml +++ b/paper-server/src/main/resources/log4j2.xml @@ -6,19 +6,21 @@ - + - + + - + - + +