From: Katja Luther Date: Wed, 10 Nov 2021 13:10:44 +0000 (+0100) Subject: ref #9851: minor X-Git-Tag: 5.29.0^2~124 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/6b48abc9cd7537b9a90754cf7195317b5339c834 ref #9851: minor --- 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 e84fc96d1..e90ed3780 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 @@ -35,6 +35,7 @@ import org.eclipse.core.net.proxy.IProxyData; import org.eclipse.core.net.proxy.IProxyService; import eu.etaxonomy.taxeditor.l10n.Messages; +import eu.etaxonomy.taxeditor.model.MessagingUtils; import eu.etaxonomy.taxeditor.preference.PreferencesUtil; /** @@ -114,7 +115,7 @@ public class UpdateHandler { // configure update operation final ProvisioningSession session = new ProvisioningSession(agent); - logger.warn("Try to get updates" + System.currentTimeMillis()); + MessagingUtils.info("Try to get updates" + System.currentTimeMillis()); operation = new UpdateOperation(session); @@ -125,15 +126,16 @@ public class UpdateHandler { IProxyData[] proxyDataForHost = proxyService.select(uri); for (IProxyData data : proxyDataForHost) { if (data.getHost() != null) { - logger.warn("http.proxyHost: " + data.getHost()); - logger.warn("http.proxyPort: " + String.valueOf(data + MessagingUtils.info("http.proxyHost: " + data.getHost()); + + MessagingUtils.info("http.proxyPort: " + String.valueOf(data .getPort())); } } // check for updates, this causes I/O final IStatus status = operation.resolveModal(monitor); - logger.warn("update resolved " + System.currentTimeMillis() + "Status: " + status.toString()); + MessagingUtils.info("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);