Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

bugfix

orbiter277048501ea5
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java
index 36ddd6860..1ef2ccbdb 100644
--- a/source/de/anomic/plasma/plasmaSwitchboard.java
+++ b/source/de/anomic/plasma/plasmaSwitchboard.java
@@ -465,8 +465,15 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
// work off unwritten files
if (entry.cacheArray != null) {
+ String error = entry.shallStoreCache();
+ if (error == null) {
cacheManager.writeFile(entry.url, entry.cacheArray);
- log.logInfo("WROTE FILE (" + entry.cacheArray.length + " bytes) for " + entry.cacheFile);
+ log.logInfo("WROTE FILE (" + entry.cacheArray.length + " bytes) for " + entry.cacheFile);
+ } else {
+ log.logInfo("WRITE OF FILE " + entry.cacheFile + " FORBIDDEN: " + error);
+ }
+ } else {
+ log.logInfo("EXISTING FILE (" + entry.cacheFile.length() + " bytes) for " + entry.cacheFile);
}
// enqueue for further crawling