dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14757
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5107: Logging
------------------------------------------------------------
revno: 5107
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-11-03 16:30:48 +0100
message:
Logging
modified:
dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/engine/DefaultDataMartEngine.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/engine/DefaultDataMartEngine.java'
--- dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/engine/DefaultDataMartEngine.java 2011-11-03 14:35:44 +0000
+++ dhis-2/dhis-services/dhis-service-datamart-default/src/main/java/org/hisp/dhis/datamart/engine/DefaultDataMartEngine.java 2011-11-03 15:30:48 +0000
@@ -173,7 +173,9 @@
Collections.shuffle( organisationUnits );
FilterUtils.filter( dataElements, new AggregatableDataElementFilter() );
expressionService.filterInvalidIndicators( indicators );
-
+
+ clock.logTime( "Filtered objects" );
+
// ---------------------------------------------------------------------
// Explode indicator expressions
// ---------------------------------------------------------------------
@@ -183,7 +185,9 @@
indicator.setExplodedNumerator( expressionService.explodeExpression( indicator.getNumerator() ) );
indicator.setExplodedDenominator( expressionService.explodeExpression( indicator.getDenominator() ) );
}
-
+
+ clock.logTime( "Exploded indicator expressions" );
+
// ---------------------------------------------------------------------
// Get operands
// ---------------------------------------------------------------------
@@ -195,7 +199,7 @@
allOperands.addAll( dataElementOperands );
allOperands.addAll( indicatorOperands );
- clock.logTime( "Filtered data elements, number of operands: " + allOperands.size() );
+ clock.logTime( "Retrieved operands: " + allOperands.size() );
// ---------------------------------------------------------------------
// Filter out future periods