From 3288489fd2ba28b9909f055c9eb02c3710a78667 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Sat, 11 Apr 2015 13:00:32 +0200 Subject: [PATCH] more logging during start-up --- source/net/yacy/crawler/data/CrawlQueues.java | 4 ++++ source/net/yacy/crawler/data/NoticedURL.java | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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(); + 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() {