You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Michael Nebel (JIRA)" <ji...@apache.org> on 2005/09/10 14:23:30 UTC

[jira] Created: (NUTCH-90) reduce logging output of IndexSegment

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


[jira] Resolved: (NUTCH-90) reduce logging output of IndexSegment

Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
     [ 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