Removed unnecessary logging

This commit is contained in:
Anuken
2019-05-04 14:01:06 -04:00
parent e8da206389
commit c46fa206f6
@@ -94,7 +94,7 @@ public class ServerControl implements ApplicationListener{
if(socketOutput != null){ if(socketOutput != null){
try{ try{
socketOutput.println("[" + dateTime.format(LocalDateTime.now()) + "] " + format(text + "&fr", false, args)); socketOutput.println(format(text + "&fr", false, args));
}catch(Throwable e){ }catch(Throwable e){
err("Error occurred logging to socket: {0}", e.getClass().getSimpleName()); err("Error occurred logging to socket: {0}", e.getClass().getSimpleName());
} }
@@ -768,7 +768,6 @@ public class ServerControl implements ApplicationListener{
socketOutput = new PrintWriter(client.getOutputStream(), true); socketOutput = new PrintWriter(client.getOutputStream(), true);
String line; String line;
while(client.isConnected() && (line = in.readLine()) != null){ while(client.isConnected() && (line = in.readLine()) != null){
info("&lmRecieved remote command: &lb'{0}'", line);
String result = line; String result = line;
Core.app.post(() -> handleCommandString(result)); Core.app.post(() -> handleCommandString(result));
} }