Skip to content

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

add a log entry on parsing ajax crawling scheme snapshot (prev. commit https://github.com/yacy/yacy_search_server/commit/9252e36aeb3765ba06d4dcf5543ad2e64c70bd4e)

regerc6495a5b6257
diff --git a/source/net/yacy/document/parser/htmlParser.java b/source/net/yacy/document/parser/htmlParser.java
index af4baf62a..6c122d902 100644
--- a/source/net/yacy/document/parser/htmlParser.java
+++ b/source/net/yacy/document/parser/htmlParser.java
@@ -374,6 +374,7 @@ public class htmlParser extends AbstractParser implements Parser {
Charset[] detectedcharsetcontainer = new Charset[]{null};
ContentScraper scraperSnapshot = parseToScraper(location, documentCharset, vocscraper, detectedcharsetcontainer, timezoneOffset, locationSnapshot.getInputStream(ClientIdentification.yacyInternetCrawlerAgent, null, null), maxLinks);
documentSnapshot = transformScraper(location, mimeType, detectedcharsetcontainer[0].name(), scraperSnapshot);
+ AbstractParser.log.info("parse snapshot "+locationSnapshot.toString() + " additional to " + location.toString());
} catch (IOException | Failure ex) { }
return documentSnapshot;
}