Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
- don't spam log because of some old URLs
karlchenofhellfdb45378fbaf
diff --git a/htroot/yacy/transferURL.java b/htroot/yacy/transferURL.javaindex e39564fdd..b56a0a46c 100644--- a/htroot/yacy/transferURL.java+++ b/htroot/yacy/transferURL.java@@ -115,11 +115,17 @@ public final class transferURL {// check if entry is well-formedindexURLEntry.Components comp = lEntry.comp();- if ((comp.url() == null) || (lEntry.freshdate().getTime() <= freshdate)) {+ if (comp.url() == null) {yacyCore.log.logWarning("transferURL: received invalid URL from peer " + otherPeerName + "\n\tURL Property: " + urls);continue;}+ // check whether entry is too old+ if (lEntry.freshdate().getTime() <= freshdate) {+ yacyCore.log.logFine("transerURL: received too old URL from peer " + otherPeerName + ": " + lEntry.freshdate());+ continue;+ }+// check if the entry is blacklistedif ((blockBlacklist) && (plasmaSwitchboard.urlBlacklist.isListed(plasmaURLPattern.BLACKLIST_DHT, lEntry.hash(), comp.url()))) {int deleted = sb.wordIndex.tryRemoveURLs(lEntry.hash());