*) 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
pull/1/head
theli 19 years ago
parent 5c56b9ed59
commit b191f06d16

@ -459,7 +459,8 @@ public final class plasmaCrawlStacker {
.append("profile: ").append(profileHandle==null?"null":profileHandle).append(" | ") .append("profile: ").append(profileHandle==null?"null":profileHandle).append(" | ")
.append("depth: ").append(Integer.toString(depth)).append(" | ") .append("depth: ").append(Integer.toString(depth)).append(" | ")
.append("forkfactor: ").append(Integer.toString(forkfactor)).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(); return str.toString();
} }
@ -878,7 +879,9 @@ public final class plasmaCrawlStacker {
); );
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); plasmaCrawlStacker.this.log.logWarning("Error while processing stackCrawl entry.\n" +
"Entry: " + this.theMsg.toString() +
"Error: " + e.toString(),e);
} finally { } finally {
this.done = true; this.done = true;
} }

Loading…
Cancel
Save