From 70a3ae7c5869fb42083f718e1d0d8f91fb1f8310 Mon Sep 17 00:00:00 2001 From: Katja Luther Date: Mon, 8 Nov 2021 09:41:50 +0100 Subject: [PATCH] ref #9851: change log level --- .../etaxonomy/taxeditor/handler/update/UpdateHandler.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/update/UpdateHandler.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/update/UpdateHandler.java index 005622864..d0842b3aa 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/update/UpdateHandler.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/update/UpdateHandler.java @@ -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; -- 2.34.1