[ http://issues.apache.org/jira/browse/NUTCH-90?page=all ]
     
Sami Siren resolved NUTCH-90:
-----------------------------

    Resolution: Invalid

doesn't seem to apply anymore

> reduce logging output of IndexSegment
> -------------------------------------
>
>          Key: NUTCH-90
>          URL: http://issues.apache.org/jira/browse/NUTCH-90
>      Project: Nutch
>         Type: Improvement
>   Components: indexer
>     Versions: 0.8-dev
>     Reporter: Michael Nebel
>     Priority: Trivial

>
> I think, LOG.fine would be enough :-) 
> Index: src/java/org/apache/nutch/indexer/IndexSegment.java
> ===================================================================
> --- src/java/org/apache/nutch/indexer/IndexSegment.java (revision 279397)
> +++ src/java/org/apache/nutch/indexer/IndexSegment.java (working copy)
> @@ -142,10 +142,10 @@
>  
>                // run filters to add more fields to the document
>                doc = IndexingFilters.filter(doc, parse, fetcherOutput);
> -    
> +     
>                // add the document to the index
>                NutchAnalyzer analyzer = AnalyzerFactory.get(doc.get("lang"));
> -              LOG.info(" Indexing [" + doc.getField("url").stringValue() + 
> "]" +
> +              LOG.fine(" Indexing [" + doc.getField("url").stringValue() + 
> "]" + 
>                         " with analyzer " + analyzer +
>                         " (" + doc.get("lang") + ")");
>                //LOG.info(" Doc is " + doc);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to