Don't output traversal reduce result in the logger. In many cases, the reduce

result is tangential to the product of the analysis and having the logger always
emit it can confuse the output (such as in the new reduceByInterval 
DepthOfCoverage walker).  If users want to emit it, they can choose not override
onTraversalDone, or override onTraversalDone and write results to the output
stream / logger / whatever their choice.


git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3422 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2010-05-23 22:41:43 +00:00
parent a40e64e47b
commit ee3f2eb1d0
1 changed files with 0 additions and 1 deletions

View File

@ -86,7 +86,6 @@ public abstract class TraversalEngine<M,T,WalkerType extends Walker<M,T>,Provide
*/
protected void printOnTraversalDone(final String type, T sum) {
printProgress(true, type, null);
logger.info("Traversal reduce result is " + sum);
final long curTime = System.currentTimeMillis();
final double elapsed = (curTime - startTime) / 1000.0;
logger.info(String.format("Total runtime %.2f secs, %.2f min, %.2f hours%n", elapsed, elapsed / 60, elapsed / 3600));