From b191f06d1607c26649d0bd91b25f83196ca19e4b Mon Sep 17 00:00:00 2001 From: theli Date: Thu, 26 Jan 2006 14:24:29 +0000 Subject: [PATCH] *) Adding additional logging message to locate problems with stackcrawl threads git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1452 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaCrawlStacker.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; }