Typo in log

This commit is contained in:
Laurent Clouet
2017-03-05 22:39:40 +01:00
parent 22e7fa7ded
commit b5e62b3416
2 changed files with 3 additions and 3 deletions

View File

@@ -136,7 +136,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(in); Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(in);
ServerCode ret = Utils.statusIsOK(document, "keepmealive"); ServerCode ret = Utils.statusIsOK(document, "keepmealive");
if (ret == ServerCode.KEEPMEALIVE_STOP_RENDERING) { if (ret == ServerCode.KEEPMEALIVE_STOP_RENDERING) {
this.log.debug("Server::keeepmealive server asked to kill local render process"); this.log.debug("Server::stayAlive server asked to kill local render process");
// kill the current process, it will generate an error but it's okay // kill the current process, it will generate an error but it's okay
if (this.client != null && this.client.getRenderingJob() != null && this.client.getRenderingJob().getProcessRender().getProcess() != null) { if (this.client != null && this.client.getRenderingJob() != null && this.client.getRenderingJob().getProcessRender().getProcess() != null) {
this.client.getRenderingJob().setServerBlockJob(true); this.client.getRenderingJob().setServerBlockJob(true);
@@ -152,7 +152,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
} }
} }
catch (NoRouteToHostException e) { catch (NoRouteToHostException e) {
this.log.debug("Server::keeepmealive can not connect to server"); this.log.debug("Server::stayAlive can not connect to server");
} }
catch (IOException e) { catch (IOException e) {
e.printStackTrace(); e.printStackTrace();

View File

@@ -304,6 +304,6 @@ public class SettingsLoader {
@Override @Override
public String toString() { public String toString() {
return "ConfigurationLoader [path=" + path + ", login=" + login + ", password=" + password + ", computeMethod=" + computeMethod + ", gpu=" + gpu + ", cacheDir=" + cacheDir + "]"; return "SettingsLoader [path=" + path + ", login=" + login + ", password=" + password + ", computeMethod=" + computeMethod + ", gpu=" + gpu + ", cacheDir=" + cacheDir + "]";
} }
} }