geforkt von SteamWar/BungeeCore
May the spam begin
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
0a472091ba
Commit
812b0a73b7
@ -71,7 +71,7 @@ public class ErrorLogger extends Handler implements Filter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void publish(LogRecord record) {
|
public void publish(LogRecord record) {
|
||||||
if(record.getLevel() != Level.SEVERE)
|
if(record.getLevel() != Level.SEVERE && record.getLevel() != Level.WARNING)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
StringBuilder stacktrace = new StringBuilder(record.getSourceClassName() + "\n" + record.getSourceMethodName());
|
StringBuilder stacktrace = new StringBuilder(record.getSourceClassName() + "\n" + record.getSourceMethodName());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren