ref #9851: change log level
authorKatja Luther <k.luther@bgbm.org>
Mon, 8 Nov 2021 08:41:50 +0000 (09:41 +0100)
committerKatja Luther <k.luther@bgbm.org>
Mon, 8 Nov 2021 08:41:50 +0000 (09:41 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/update/UpdateHandler.java

index 0056228641c29319c8c9a94fa586b9bd60c30b0d..d0842b3aa1bb82f6f7dabfce5994f92eb31019cf 100644 (file)
@@ -95,14 +95,15 @@ public class UpdateHandler {
 
         // configure update operation
         final ProvisioningSession session = new ProvisioningSession(agent);
-        logger.debug("Try to get updates" + System.currentTimeMillis());        
+        logger.warn("Try to get updates" + System.currentTimeMillis());        
         operation = new UpdateOperation(session);
         
-        configureUpdate(operation);
         
+        configureUpdate(operation);
+     
         // check for updates, this causes I/O
         final IStatus status = operation.resolveModal(monitor);
-        logger.debug("update resolved " + System.currentTimeMillis() + "Status: " + status.toString());
+        logger.warn("update resolved " + System.currentTimeMillis() + "Status: " + status.toString());
         // failed to find updates (inform user and exit)
         if (status.getCode() == UpdateOperation.STATUS_NOTHING_TO_UPDATE) {
             showMessage(shell, sync);
@@ -153,6 +154,7 @@ public class UpdateHandler {
         // set location of artifact and metadata repo
         operation.getProvisioningContext().setArtifactRepositories(new URI[] { uri });
         operation.getProvisioningContext().setMetadataRepositories(new URI[] { uri });
+        
         //if local plugin is installed, then check for updates
         //operation.getProvisioningContext().setExtraInstallableUnits(extraIUs);
         return operation;