dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #34895
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17900: Reduced logging of data value sets
------------------------------------------------------------
revno: 17900
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-01-07 10:30:41 +0100
message:
Reduced logging of data value sets
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataValueSetController.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-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataValueSetController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataValueSetController.java 2014-12-07 13:56:05 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataValueSetController.java 2015-01-07 09:30:41 +0000
@@ -89,13 +89,13 @@
String ds = dataSet.iterator().next();
String ou = orgUnit.iterator().next();
- log.info( "Get XML data value set for data set: " + ds + ", period: " + period + ", org unit: " + ou );
+ log.debug( "Get XML data value set for data set: " + ds + ", period: " + period + ", org unit: " + ou );
dataValueSetService.writeDataValueSetXml( ds, period, ou, response.getOutputStream(), exportOptions );
}
else
{
- log.info( "Get XML bulk data value set for start date: " + startDate + ", end date: " + endDate );
+ log.debug( "Get XML bulk data value set for start date: " + startDate + ", end date: " + endDate );
dataValueSetService.writeDataValueSetXml( dataSet, startDate, endDate, orgUnit, children, response.getOutputStream(), exportOptions );
}
@@ -121,13 +121,13 @@
String ds = dataSet.iterator().next();
String ou = orgUnit.iterator().next();
- log.info( "Get JSON data value set for data set: " + ds + ", period: " + period + ", org unit: " + ou );
+ log.debug( "Get JSON data value set for data set: " + ds + ", period: " + period + ", org unit: " + ou );
dataValueSetService.writeDataValueSetJson( ds, period, ou, response.getOutputStream(), exportOptions );
}
else
{
- log.info( "Get JSON bulk data value set for start date: " + startDate + ", end date: " + endDate );
+ log.debug( "Get JSON bulk data value set for start date: " + startDate + ", end date: " + endDate );
dataValueSetService.writeDataValueSetJson( dataSet, startDate, endDate, orgUnit, children, response.getOutputStream(), exportOptions );
}
@@ -153,13 +153,13 @@
String ds = dataSet.iterator().next();
String ou = orgUnit.iterator().next();
- log.info( "Get CSV data value set for data set: " + ds + ", period: " + period + ", org unit: " + ou );
+ log.debug( "Get CSV data value set for data set: " + ds + ", period: " + period + ", org unit: " + ou );
dataValueSetService.writeDataValueSetCsv( ds, period, ou, response.getWriter(), exportOptions );
}
else
{
- log.info( "Get CSV bulk data value set for start date: " + startDate + ", end date: " + endDate );
+ log.debug( "Get CSV bulk data value set for start date: " + startDate + ", end date: " + endDate );
dataValueSetService.writeDataValueSetCsv( dataSet, startDate, endDate, orgUnit, children, response.getWriter(), exportOptions );
}
@@ -176,7 +176,7 @@
{
ImportSummary summary = dataValueSetService.saveDataValueSet( in, importOptions );
- log.info( "Data values set saved" );
+ log.debug( "Data values set saved" );
response.setContentType( CONTENT_TYPE_XML );
JacksonUtils.toXml( response.getOutputStream(), summary );
@@ -189,7 +189,7 @@
{
ImportSummary summary = dataValueSetService.saveDataValueSetJson( in, importOptions );
- log.info( "Data values set saved" );
+ log.debug( "Data values set saved" );
response.setContentType( CONTENT_TYPE_JSON );
JacksonUtils.toJson( response.getOutputStream(), summary );
@@ -202,7 +202,7 @@
{
ImportSummary summary = dataValueSetService.saveDataValueSetCsv( in, importOptions );
- log.info( "Data values set saved" );
+ log.debug( "Data values set saved" );
response.setContentType( CONTENT_TYPE_XML );
JacksonUtils.toXml( response.getOutputStream(), summary );