Author: siren
Date: Thu Jul 27 09:19:56 2006
New Revision: 426118

URL: http://svn.apache.org/viewvc?rev=426118&view=rev
Log:
logging changes to 0.8 branch also

Modified:
    lucene/nutch/branches/branch-0.8/CHANGES.txt
    lucene/nutch/branches/branch-0.8/conf/log4j.properties

Modified: lucene/nutch/branches/branch-0.8/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/lucene/nutch/branches/branch-0.8/CHANGES.txt?rev=426118&r1=426117&r2=426118&view=diff
==============================================================================
--- lucene/nutch/branches/branch-0.8/CHANGES.txt (original)
+++ lucene/nutch/branches/branch-0.8/CHANGES.txt Thu Jul 27 09:19:56 2006
@@ -1,5 +1,10 @@
 Nutch Change Log
 
+Release 0.8.1 ????-??-??
+
+ 1. Changed log4j confiquration to log to stdout on commandline
+    tools (siren)
+
 Release 0.8 - 2006-07-25
 
  0. Totally new architecture, based on hadoop

Modified: lucene/nutch/branches/branch-0.8/conf/log4j.properties
URL: 
http://svn.apache.org/viewvc/lucene/nutch/branches/branch-0.8/conf/log4j.properties?rev=426118&r1=426117&r2=426118&view=diff
==============================================================================
--- lucene/nutch/branches/branch-0.8/conf/log4j.properties (original)
+++ lucene/nutch/branches/branch-0.8/conf/log4j.properties Thu Jul 27 09:19:56 
2006
@@ -4,6 +4,24 @@
 # Logging Threshold
 log4j.threshhold=ALL
 
+#special logging requirements for some commandline tools
+log4j.logger.org.apache.nutch.crawl.Crawl=INFO,cmdstdout
+log4j.logger.org.apache.nutch.crawl.Injector=INFO,cmdstdout
+log4j.logger.org.apache.nutch.crawl.Generator=INFO,cmdstdout
+log4j.logger.org.apache.nutch.fetcher.Fetcher=INFO,cmdstdout
+log4j.logger.org.apache.nutch.parse.ParseSegment=INFO,cmdstdout
+log4j.logger.org.apache.nutch.crawl.CrawlDbReader=INFO,cmdstdout
+log4j.logger.org.apache.nutch.crawl.CrawlDbMerger=INFO,cmdstdout
+log4j.logger.org.apache.nutch.crawl.LinkDbReader=INFO,cmdstdout
+log4j.logger.org.apache.nutch.segment.SegmentReader=INFO,cmdstdout
+log4j.logger.org.apache.nutch.segment.SegmentMerger=INFO,cmdstdout
+log4j.logger.org.apache.nutch.crawl.CrawlDb=INFO,cmdstdout
+log4j.logger.org.apache.nutch.crawl.LinkDb=INFO,cmdstdout
+log4j.logger.org.apache.nutch.crawl.LinkDbMerger=INFO,cmdstdout
+log4j.logger.org.apache.nutch.indexer.Indexer=INFO,cmdstdout
+log4j.logger.org.apache.nutch.indexer.DeleteDuplicates=INFO,cmdstdout
+log4j.logger.org.apache.nutch.indexer.IndexMerger=INFO,cmdstdout
+
 log4j.logger.org.apache.nutch=INFO
 log4j.logger.org.apache.hadoop=WARN
 
@@ -36,6 +54,12 @@
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} 
(%F:%M(%L)) - %m%n
 
+#
+# plain layout used for commandline tools to output to console
+#
+log4j.appender.cmdstdout=org.apache.log4j.ConsoleAppender
+log4j.appender.cmdstdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.cmdstdout.layout.ConversionPattern=%m%n
 
 #
 # Rolling File Appender



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-cvs mailing list
Nutch-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-cvs

Reply via email to