geforkt von SteamWar/BungeeCore
Remove spam
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
ae7dc04fd5
Commit
a323661bc9
@ -88,7 +88,12 @@ public class ErrorLogger extends Handler implements Filter {
|
|||||||
String stacktraceString = stacktrace.toString();
|
String stacktraceString = stacktrace.toString();
|
||||||
String message = MessageFormat.format(record.getMessage(), record.getParameters());
|
String message = MessageFormat.format(record.getMessage(), record.getParameters());
|
||||||
|
|
||||||
if(message.contains("ServerConnector") || message.contains("InitialHandler") || message.contains("DownstreamBridge"))
|
if(message.contains("ServerConnector")
|
||||||
|
|| message.contains("InitialHandler")
|
||||||
|
|| message.contains("UpstreamBridge")
|
||||||
|
|| message.contains("DownstreamBridge")
|
||||||
|
|| message.contains(" took ")
|
||||||
|
|| message.contains("No client connected for pending server!"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
SWException.log("Bungee", message, stacktraceString);
|
SWException.log("Bungee", message, stacktraceString);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren