ref #9851: minor
authorKatja Luther <k.luther@bgbm.org>
Wed, 10 Nov 2021 13:10:44 +0000 (14:10 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 10 Nov 2021 13:10:44 +0000 (14:10 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/handler/update/UpdateHandler.java

index e84fc96d19e296b3ff53cc676832b06930d20cc5..e90ed378070bc0affc33d70d0e8a76df96f7d541 100644 (file)
@@ -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);