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



All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Nutch-cvs mailing list
Nutch-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-cvs

Reply via email to