Skip to content

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

*) Adding additional logging message to locate problems with stackcrawl threads

thelib191f06d1607
diff --git a/source/de/anomic/plasma/plasmaCrawlStacker.java b/source/de/anomic/plasma/plasmaCrawlStacker.java
index 9dd2e9abf..e3d1c9e7b 100644
--- a/source/de/anomic/plasma/plasmaCrawlStacker.java
+++ b/source/de/anomic/plasma/plasmaCrawlStacker.java
@@ -459,7 +459,8 @@ public final class plasmaCrawlStacker {
.append("profile: ").append(profileHandle==null?"null":profileHandle).append(" | ")
.append("depth: ").append(Integer.toString(depth)).append(" | ")
.append("forkfactor: ").append(Integer.toString(forkfactor)).append(" | ")
- .append("flags: ").append((flags==null) ? "null" : flags.toString());
+ //.append("flags: ").append((flags==null) ? "null" : flags.toString())
+ ;
return str.toString();
}
@@ -878,7 +879,9 @@ public final class plasmaCrawlStacker {
);
}
} catch (Exception e) {
- e.printStackTrace();
+ plasmaCrawlStacker.this.log.logWarning("Error while processing stackCrawl entry.\n" +
+ "Entry: " + this.theMsg.toString() +
+ "Error: " + e.toString(),e);
} finally {
this.done = true;
}