dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24233
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11836: Reduced log level for analytics query planner
------------------------------------------------------------
revno: 11836
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-08-29 20:14:51 +0200
message:
Reduced log level for analytics query planner
modified:
dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultQueryPlanner.java
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/WEB-INF/classes/log4j.properties
--
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-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultQueryPlanner.java'
--- dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultQueryPlanner.java 2013-08-23 16:05:01 +0000
+++ dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultQueryPlanner.java 2013-08-29 18:14:51 +0000
@@ -323,7 +323,7 @@
if ( subQueries.size() > queryGroups.getAllQueries().size() )
{
- log.info( "Split on " + dimension + ": " + ( subQueries.size() / queryGroups.getAllQueries().size() ) );
+ log.debug( "Split on " + dimension + ": " + ( subQueries.size() / queryGroups.getAllQueries().size() ) );
}
return new DataQueryGroups( subQueries );
@@ -376,7 +376,7 @@
if ( queries.size() > 1 )
{
- log.info( "Split on partition: " + queries.size() );
+ log.debug( "Split on partition: " + queries.size() );
}
return queries;
@@ -431,7 +431,7 @@
if ( queries.size() > 1 )
{
- log.info( "Split on period type: " + queries.size() );
+ log.debug( "Split on period type: " + queries.size() );
}
return queries;
@@ -560,7 +560,7 @@
if ( queries.size() > 1 )
{
- log.info( "Split on aggregation type: " + queries.size() );
+ log.debug( "Split on aggregation type: " + queries.size() );
}
return queries;
@@ -592,7 +592,7 @@
if ( queries.size() > 1 )
{
- log.info( "Split on data period type: " + queries.size() );
+ log.debug( "Split on data period type: " + queries.size() );
}
return queries;
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/WEB-INF/classes/log4j.properties'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/WEB-INF/classes/log4j.properties 2013-08-29 18:09:46 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/WEB-INF/classes/log4j.properties 2013-08-29 18:14:51 +0000
@@ -31,3 +31,5 @@
# Spring framework logging level
log4j.logger.org.springframework = WARN
log4j.logger.org.springframework.web = WARN
+
+# log4j.logger.org.hisp.dhis.system.util.Timer = ERROR