Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Change print statement to log statement.

Douglass Cuttingfbd1c69406b3
diff --git a/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/RobotRulesParser.java b/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/RobotRulesParser.java
index d74e575e7..6ad7e37f3 100644
--- a/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/RobotRulesParser.java
+++ b/src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/RobotRulesParser.java
@@ -374,7 +374,7 @@ public class RobotRulesParser {
RobotRuleSet robotRules = (RobotRuleSet)CACHE.get(host);
if (robotRules == null) { // cache miss
- System.out.println("cache miss " + url);
+ LOG.fine("cache miss " + url);
try {
HttpResponse response = new HttpResponse(new URL(url, "/robots.txt"));