← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17958: Minor

 

------------------------------------------------------------
revno: 17958
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-01-13 16:39:35 +0100
message:
  Minor
modified:
  dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/maintenance/DefaultMaintenanceService.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-administration/src/main/java/org/hisp/dhis/maintenance/DefaultMaintenanceService.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/maintenance/DefaultMaintenanceService.java	2015-01-13 15:01:23 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/maintenance/DefaultMaintenanceService.java	2015-01-13 15:39:35 +0000
@@ -117,7 +117,7 @@
         List<int[]> pages = range.getPages();
         Collections.reverse( pages ); // Iterate from end since users are deleted
         
-        log.info( "Pages: " + pages );
+        log.debug( "Pages: " + pages );
         
         for ( int[] page : pages )
         {
@@ -125,8 +125,6 @@
             params.setMax( range.getPageSize() );
             List<User> users = userService.getUsers( params );
             
-            log.info( "Users: " + users.size() );
-            
             for ( User user : users )
             {
                 try
@@ -135,7 +133,7 @@
                 }
                 catch ( DeleteNotAllowedException ex )
                 {
-                    log.info( "Could not delete user " + user.getUsername() );
+                    log.warn( "Could not delete user " + user.getUsername() );
                 }
             }
         }