From 812b0a73b7134d5653bf30e9f2c055a3ad28ba04 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 27 Jan 2021 10:31:14 +0100 Subject: [PATCH] May the spam begin Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/ErrorLogger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/ErrorLogger.java b/src/de/steamwar/bungeecore/ErrorLogger.java index 60df5ce2..09100952 100644 --- a/src/de/steamwar/bungeecore/ErrorLogger.java +++ b/src/de/steamwar/bungeecore/ErrorLogger.java @@ -71,7 +71,7 @@ public class ErrorLogger extends Handler implements Filter { @Override public void publish(LogRecord record) { - if(record.getLevel() != Level.SEVERE) + if(record.getLevel() != Level.SEVERE && record.getLevel() != Level.WARNING) return; StringBuilder stacktrace = new StringBuilder(record.getSourceClassName() + "\n" + record.getSourceMethodName());