You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by je...@apache.org on 2006/06/21 22:22:33 UTC

svn commit: r416100 - in /lucene/nutch/trunk: bin/nutch conf/log4j.properties

Author: jerome
Date: Wed Jun 21 13:22:33 2006
New Revision: 416100

URL: http://svn.apache.org/viewvc?rev=416100&view=rev
Log:
NUTCH-307 : Nutch now uses Hadoop var names for the file name used by DRFA logging

Modified:
    lucene/nutch/trunk/bin/nutch
    lucene/nutch/trunk/conf/log4j.properties

Modified: lucene/nutch/trunk/bin/nutch
URL: http://svn.apache.org/viewvc/lucene/nutch/trunk/bin/nutch?rev=416100&r1=416099&r2=416100&view=diff
==============================================================================
--- lucene/nutch/trunk/bin/nutch (original)
+++ lucene/nutch/trunk/bin/nutch Wed Jun 21 13:22:33 2006
@@ -126,10 +126,10 @@
   NUTCH_LOG_DIR="$NUTCH_HOME/logs"
 fi
 if [ "$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 run
 if [ "$COMMAND" = "crawl" ] ; then

Modified: lucene/nutch/trunk/conf/log4j.properties
URL: http://svn.apache.org/viewvc/lucene/nutch/trunk/conf/log4j.properties?rev=416100&r1=416099&r2=416100&view=diff
==============================================================================
--- lucene/nutch/trunk/conf/log4j.properties (original)
+++ lucene/nutch/trunk/conf/log4j.properties Wed Jun 21 13:22:33 2006
@@ -12,7 +12,7 @@
 #
 
 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 midnight
 log4j.appender.DRFA.DatePattern=.yyyy-MM-dd