Skip to content

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

more logging during start-up

Michael Peter Christen3288489fd2ba
diff --git a/source/net/yacy/crawler/data/CrawlQueues.java b/source/net/yacy/crawler/data/CrawlQueues.java
index 2cb296eec..62962e045 100644
--- a/source/net/yacy/crawler/data/CrawlQueues.java
+++ b/source/net/yacy/crawler/data/CrawlQueues.java
@@ -87,9 +87,13 @@ public class CrawlQueues {
// start crawling management
log.config("Starting Crawling Management");
+ log.config("Opening noticeURL..");
this.noticeURL = new NoticedURL(queuePath, sb.getConfigInt("crawler.onDemandLimit", 1000), sb.exceed134217727);
+ log.config("Opening errorURL..");
this.errorURL = new ErrorCache(sb.index.fulltext());
+ log.config("Opening delegatedURL..");
this.delegatedURL = new ConcurrentHashMap<String, DigestURL>();
+ log.config("Finishted Startup of Crawling Management");
}
/**
diff --git a/source/net/yacy/crawler/data/NoticedURL.java b/source/net/yacy/crawler/data/NoticedURL.java
index f2b552941..1c9673acd 100644
--- a/source/net/yacy/crawler/data/NoticedURL.java
+++ b/source/net/yacy/crawler/data/NoticedURL.java
@@ -62,11 +62,16 @@ public class NoticedURL {
final File cachePath,
final int onDemandLimit,
final boolean exceed134217727) {
- ConcurrentLog.info("NoticedURL", "CREATING STACKS at " + cachePath.toString());
+ ConcurrentLog.info("NoticedURL", "START CREATING STACKS at " + cachePath.toString());
+ ConcurrentLog.info("NoticedURL", "opening CrawlerCoreStacks..");
this.coreStack = new HostBalancer(new File(cachePath, "CrawlerCoreStacks"), onDemandLimit, exceed134217727);
+ ConcurrentLog.info("NoticedURL", "opening CrawlerLimitStacks..");
this.limitStack = new HostBalancer(new File(cachePath, "CrawlerLimitStacks"), onDemandLimit, exceed134217727);
+ ConcurrentLog.info("NoticedURL", "opening CrawlerRemoteStacks..");
this.remoteStack = new HostBalancer(new File(cachePath, "CrawlerRemoteStacks"), onDemandLimit, exceed134217727);
+ ConcurrentLog.info("NoticedURL", "opening CrawlerNoLoadStacks..");
this.noloadStack = new HostBalancer(new File(cachePath, "CrawlerNoLoadStacks"), onDemandLimit, exceed134217727);
+ ConcurrentLog.info("NoticedURL", "FINISHED CREATING STACKS at " + cachePath.toString());
}
public void clear() {