Apache Nutch is an extensible and scalable web crawler
NUTCH-307 : Nutch now uses Hadoop var names for the file name used by DRFA logging
Jerome Charron07dcae04049d
diff --git a/bin/nutch b/bin/nutchindex dbd0e1924..1ba4fed2e 100755--- a/bin/nutch+++ b/bin/nutch@@ -126,10 +126,10 @@ if [ "$NUTCH_LOG_DIR" = "" ]; thenNUTCH_LOG_DIR="$NUTCH_HOME/logs"fiif [ "$NUTCH_LOGFILE" = "" ]; then- NUTCH_LOGFILE='nutch.log'+ NUTCH_LOGFILE='hadoop.log'fi-NUTCH_OPTS="$NUTCH_OPTS -Dnutch.log.dir=$NUTCH_LOG_DIR"-NUTCH_OPTS="$NUTCH_OPTS -Dnutch.log.file=$NUTCH_LOGFILE"+NUTCH_OPTS="$NUTCH_OPTS -Dhadoop.log.dir=$NUTCH_LOG_DIR"+NUTCH_OPTS="$NUTCH_OPTS -Dhadoop.log.file=$NUTCH_LOGFILE"# figure out which class to runif [ "$COMMAND" = "crawl" ] ; thendiff --git a/conf/log4j.properties b/conf/log4j.propertiesindex 0cef7a9e0..ae9dac96a 100644--- a/conf/log4j.properties+++ b/conf/log4j.properties@@ -12,7 +12,7 @@ log4j.logger.org.apache.hadoop=WARN#log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender-log4j.appender.DRFA.File=${nutch.log.dir}/${nutch.log.file}+log4j.appender.DRFA.File=${hadoop.log.dir}/${hadoop.log.file}# Rollver at midnightlog4j.appender.DRFA.DatePattern=.yyyy-MM-dd