znai enterprise: logging checksum comparison during build output monitor
@@ -96,7 +96,7 @@ public class BuildOutputMonitor implements ServerLifecycleListener {
.orElseThrow(() -> new RuntimeException("no directory found inside zip"));
String docId = docsDir.getFileName().toString();
- ConsoleOutputs.out("detected ", Color.WHITE, docId, Color.BLUE, " at ", Color.PURPLE, zip);
+ ConsoleOutputs.out("processing ", Color.WHITE, docId, Color.BLUE, " at ", Color.PURPLE, zip);
documentationStorage().store("build-output-monitor", docId, "", docsDir);
DocLifecycleListeners.onDocUpdate(new DocMeta(
@@ -112,6 +112,9 @@ public class BuildOutputMonitor implements ServerLifecycleListener {
checkSumByPath.put(path, newCheckSum);
+ ConsoleOutputs.out(Color.YELLOW, "comparing checksums for ", Color.PURPLE, path,
+ Color.CYAN, " ", previousCheckSum, Color.GREEN, " vs ", Color.CYAN, newCheckSum);
+
if (previousCheckSum == null) {
return true;
}
