Revision: 18301
          http://sourceforge.net/p/gate/code/18301
Author:   johann_p
Date:     2014-09-09 14:49:12 +0000 (Tue, 09 Sep 2014)
Log Message:
-----------
Make two frequently occurring messages from the OrthoMatcher show up only
at log level DEBUG.

Modified Paths:
--------------
    gate/trunk/src/main/gate/creole/orthomatcher/BasicAnnotationOrthography.java
    gate/trunk/src/main/gate/creole/orthomatcher/OrthoMatcher.java

Modified: 
gate/trunk/src/main/gate/creole/orthomatcher/BasicAnnotationOrthography.java
===================================================================
--- 
gate/trunk/src/main/gate/creole/orthomatcher/BasicAnnotationOrthography.java    
    2014-09-09 13:54:05 UTC (rev 18300)
+++ 
gate/trunk/src/main/gate/creole/orthomatcher/BasicAnnotationOrthography.java    
    2014-09-09 14:49:12 UTC (rev 18301)
@@ -209,7 +209,7 @@
       if(annotString.equals(oldString)) {
         Annotation tempAnnot = nameAllAnnots.get(id);
         if(tempAnnot == null) {
-          log.warn("Orthomatcher: TempAnnot is null when looking at "
+          log.debug("Orthomatcher: TempAnnot is null when looking at "
               + annotString + " | " + oldString + " | old id: " + id);
           return null;
         }

Modified: gate/trunk/src/main/gate/creole/orthomatcher/OrthoMatcher.java
===================================================================
--- gate/trunk/src/main/gate/creole/orthomatcher/OrthoMatcher.java      
2014-09-09 13:54:05 UTC (rev 18300)
+++ gate/trunk/src/main/gate/creole/orthomatcher/OrthoMatcher.java      
2014-09-09 14:49:12 UTC (rev 18301)
@@ -514,7 +514,7 @@
       if (processedAnnots.containsValue(unknownString)) {
         Annotation matchedAnnot = orthoAnnotation.updateMatches(unknown, 
unknownString,processedAnnots,nameAllAnnots,matchesDocFeature);
         if (matchedAnnot == null) {
-          log.info("Orthomatcher: Unable to find the annotation: " +
+          log.debug("Orthomatcher: Unable to find the annotation: " +
                   orthoAnnotation.getStringForAnnotation(unknown, document) +
           " in matchUnknown");
         }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
GATE-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to