Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Generator: fix logging of hostdb path

Sebastian Nagel8d21260d2898
diff --git a/src/java/org/apache/nutch/crawl/Generator.java b/src/java/org/apache/nutch/crawl/Generator.java
index 555c42ed4..a18dad4ae 100644
--- a/src/java/org/apache/nutch/crawl/Generator.java
+++ b/src/java/org/apache/nutch/crawl/Generator.java
@@ -750,7 +750,7 @@ public class Generator extends NutchTool implements Tool {
if (expr != null) {
LOG.info("Generator: expr: {}", expr);
}
- if (expr != null) {
+ if (hostdb != null) {
LOG.info("Generator: hostdb: {}", hostdb);
}