Merge branch 'add_log' into 'master'
Add logs for better debug info See merge request sheepitrenderfarm/client!279
This commit is contained in:
@@ -193,6 +193,7 @@ import okhttp3.HttpUrl;
|
||||
synchronized (this) {
|
||||
if (this.suspended) {
|
||||
this.gui.status("Client paused", true);
|
||||
this.log.debug("Client paused");
|
||||
}
|
||||
while (this.suspended && !this.shuttingdown) {
|
||||
wait();
|
||||
@@ -829,7 +830,7 @@ import okhttp3.HttpUrl;
|
||||
|
||||
if (!new File(renderer_archive).exists()) {
|
||||
this.gui.status("Copying renderer from shared downloads directory");
|
||||
|
||||
this.log.debug("Client::prepareWorkingDirectory Copying renderer from shared downloads directory " + bestRendererArchive + " into " + renderer_archive);
|
||||
copySharedChunk(bestRendererArchive, renderer_archive);
|
||||
}
|
||||
|
||||
@@ -838,6 +839,7 @@ import okhttp3.HttpUrl;
|
||||
renderer_path_file.mkdir();
|
||||
|
||||
this.gui.status("Extracting renderer");
|
||||
this.log.debug("Client::prepareWorkingDirectory Extracting renderer " + renderer_archive + " into " + renderer_path);
|
||||
|
||||
// unzip the archive
|
||||
ret = Utils.unzipFileIntoDirectory(renderer_archive, renderer_path, null, log);
|
||||
@@ -874,7 +876,7 @@ import okhttp3.HttpUrl;
|
||||
scene_path_file.mkdir();
|
||||
|
||||
this.gui.status("Extracting project");
|
||||
|
||||
this.log.debug("Client::prepareWorkingDirectory Extracting project into " + scene_path);
|
||||
// unzip the archive
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user