Add logs for better debug info

This commit is contained in:
Raimund58
2023-12-08 09:47:10 +00:00
committed by Sheepit Renderfarm
parent 4e1ef85dd6
commit 1ebff3730f

View File

@@ -202,6 +202,7 @@ import okhttp3.HttpUrl;
synchronized (this) { synchronized (this) {
if (this.suspended) { if (this.suspended) {
this.gui.status("Client paused", true); this.gui.status("Client paused", true);
this.log.debug("Client paused");
} }
while (this.suspended && !this.shuttingdown) { while (this.suspended && !this.shuttingdown) {
wait(); wait();
@@ -1017,7 +1018,7 @@ import okhttp3.HttpUrl;
if (!new File(renderer_archive).exists()) { if (!new File(renderer_archive).exists()) {
this.gui.status("Copying renderer from shared downloads directory"); 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); copySharedChunk(bestRendererArchive, renderer_archive);
} }
@@ -1026,6 +1027,7 @@ import okhttp3.HttpUrl;
renderer_path_file.mkdir(); renderer_path_file.mkdir();
this.gui.status("Extracting renderer"); this.gui.status("Extracting renderer");
this.log.debug("Client::prepareWorkingDirectory Extracting renderer " + renderer_archive + " into " + renderer_path);
// unzip the archive // unzip the archive
ret = Utils.unzipFileIntoDirectory(renderer_archive, renderer_path, null, log); ret = Utils.unzipFileIntoDirectory(renderer_archive, renderer_path, null, log);
@@ -1062,7 +1064,7 @@ import okhttp3.HttpUrl;
scene_path_file.mkdir(); scene_path_file.mkdir();
this.gui.status("Extracting project"); this.gui.status("Extracting project");
this.log.debug("Client::prepareWorkingDirectory Extracting project into " + scene_path);
// unzip the archive // unzip the archive