Author: rwesten
Date: Sat Jun 30 12:04:30 2012
New Revision: 1355718

URL: http://svn.apache.org/viewvc?rev=1355718&view=rev
Log:
minor: changed some logging from Info to Debug. This should decrease logfile 
sizes in INFO level by about 50%

Modified:
    
incubator/stanbol/trunk/enhancer/engines/entitytagging/src/main/java/org/apache/stanbol/enhancer/engines/entitytagging/impl/NamedEntityTaggingEngine.java

Modified: 
incubator/stanbol/trunk/enhancer/engines/entitytagging/src/main/java/org/apache/stanbol/enhancer/engines/entitytagging/impl/NamedEntityTaggingEngine.java
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/engines/entitytagging/src/main/java/org/apache/stanbol/enhancer/engines/entitytagging/impl/NamedEntityTaggingEngine.java?rev=1355718&r1=1355717&r2=1355718&view=diff
==============================================================================
--- 
incubator/stanbol/trunk/enhancer/engines/entitytagging/src/main/java/org/apache/stanbol/enhancer/engines/entitytagging/impl/NamedEntityTaggingEngine.java
 (original)
+++ 
incubator/stanbol/trunk/enhancer/engines/entitytagging/src/main/java/org/apache/stanbol/enhancer/engines/entitytagging/impl/NamedEntityTaggingEngine.java
 Sat Jun 30 12:04:30 2012
@@ -265,7 +265,7 @@ public class NamedEntityTaggingEngine 
                     "The ID of the Referenced Site is a required Parameter and 
MUST NOT be an empty String!");
         }
         
if(Entityhub.ENTITYHUB_IDS.contains(this.referencedSiteID.toLowerCase())){
-            log.info("Init NamedEntityTaggingEngine instance for the 
Entityhub");
+            log.debug("Init NamedEntityTaggingEngine instance for the 
Entityhub");
             this.referencedSiteID = null;
         }
         Object state = config.get(PERSON_STATE);
@@ -419,7 +419,7 @@ public class NamedEntityTaggingEngine 
         // First get the required properties for the parsed textAnnotation
         // ... and check the values
 
-        log.info("Process {}", namedEntity);
+        log.debug("Process {}", namedEntity);
         FieldQuery query = site == null ? //if site is NULL use the Entityhub
                 entityhub.getQueryFactory().createFieldQuery() : 
                     site.getQueryFactory().createFieldQuery();
@@ -470,7 +470,7 @@ public class NamedEntityTaggingEngine 
         QueryResultList<Entity> results = site == null? //if site is NULL
                 entityhub.findEntities(query) : //use the Entityhub
                     site.findEntities(query); //else the referenced site
-        log.info(" - {} results returned by query {}", results.size(), 
results.getQuery());
+        log.debug(" - {} results returned by query {}", results.size(), 
results.getQuery());
         if(results.isEmpty()){ //no results nothing to do
             return Collections.emptyList();
         }
@@ -518,7 +518,7 @@ public class NamedEntityTaggingEngine 
                 }
                 matches.add(match);
             } else {
-                log.info("No value of {} for Entity 
{}!",nameField,match.getEntity().getId());
+                log.debug("No value of {} for Entity 
{}!",nameField,match.getEntity().getId());
             }
         }
         //now sort the results


Reply via email to