Revision: 18166
          http://sourceforge.net/p/gate/code/18166
Author:   johann_p
Date:     2014-07-08 16:49:07 +0000 (Tue, 08 Jul 2014)
Log Message:
-----------
Remove some superfluous info messages from the output when
running in the new command line mode.

Modified Paths:
--------------
    gcp/trunk/src/gate/cloud/batch/BatchRunner.java

Modified: gcp/trunk/src/gate/cloud/batch/BatchRunner.java
===================================================================
--- gcp/trunk/src/gate/cloud/batch/BatchRunner.java     2014-07-08 15:06:08 UTC 
(rev 18165)
+++ gcp/trunk/src/gate/cloud/batch/BatchRunner.java     2014-07-08 16:49:07 UTC 
(rev 18166)
@@ -736,7 +736,7 @@
           InputHandler inputHandler = inputHandlerClass.newInstance();
           inputHandler.config(configData);
           inputHandler.init();
-          log.info("Have input handler: "+inputHandler);
+          // log.info("Have input handler: "+inputHandler);
           aBatch.setInputHandler(inputHandler);
           // set the output Handler
           String outputHandlerClassName;
@@ -758,7 +758,7 @@
           List<AnnotationSetDefinition> asDefs = new 
ArrayList<AnnotationSetDefinition>();
           outHandler.setAnnSetDefinitions(asDefs);
           outHandler.init();
-          log.info("Have output handler: "+outHandler);
+          // log.info("Have output handler: "+outHandler);
           List<OutputHandler> outHandlers = new ArrayList<OutputHandler>();
           outHandlers.add(outHandler);
           aBatch.setOutputHandlers(outHandlers);
@@ -774,12 +774,11 @@
           enumerator.init();
           while(enumerator.hasNext()) {
             DocumentID id = enumerator.next();
-            log.info("Adding document: "+id);
+            // log.info("Adding document: "+id);
             docIds.add(id);
           } 
-          log.info("Number of document ids: "+docIds.size());
+          log.info("Number of documents found: "+docIds.size());
           aBatch.setDocumentIDs(docIds.toArray(new DocumentID[docIds.size()]));
-          log.info("The document ids: "+aBatch.getDocumentIDs());
           aBatch.init();
         }
       }

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


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to