From 8d6afbd80d5ce2c3c574864dd9ffaa50b4402d47 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 4 May 2019 14:22:13 -0400 Subject: [PATCH] Trim console output even more --- server/src/io/anuke/mindustry/server/ServerControl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/io/anuke/mindustry/server/ServerControl.java b/server/src/io/anuke/mindustry/server/ServerControl.java index 0f2eb8cc2b..3d1fa9f8f2 100644 --- a/server/src/io/anuke/mindustry/server/ServerControl.java +++ b/server/src/io/anuke/mindustry/server/ServerControl.java @@ -65,7 +65,7 @@ public class ServerControl implements ApplicationListener{ @Override public void debug(String text, Object... args){ - print("&lc&fb" + "[DEBUG] " + text, args); + print("&lc&fb" + "[DEBG] " + text, args); } @Override @@ -94,7 +94,7 @@ public class ServerControl implements ApplicationListener{ if(socketOutput != null){ try{ - socketOutput.println(format(text + "&fr", false, args)); + socketOutput.println(format(text + "&fr", false, args).replace("[DEBG] ", "").replace("[WARN] ", "").replace("[INFO] ", "").replace("[ERR!] ", "")); }catch(Throwable e){ err("Error occurred logging to socket: {0}", e.getClass().getSimpleName()); }