airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patanac...@apache.org
Subject svn commit: r1179790 [4/4] - in /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya: ./ component/gui/ component/registry/ component/ws/ event/ experiment/gui/ file/gui/ gfac/ gpel/ gpel/gui/ gpel/script/ graph/dynamic/g...
Date Thu, 06 Oct 2011 19:47:49 GMT
Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/echo/EchoImpl.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/echo/EchoImpl.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/echo/EchoImpl.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/echo/EchoImpl.java
Thu Oct  6 19:47:45 2011
@@ -25,21 +25,22 @@ import java.util.Random;
 
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.xbaya.test.service.ServiceNotificationSender;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.xmlpull.v1.builder.XmlElement;
 import org.xmlpull.v1.builder.XmlNamespace;
 
 import xsul.XmlConstants;
-import xsul5.MLogger;
 
 public class EchoImpl implements Echo {
 
-    private final static MLogger logger = MLogger.getLogger();
+    private final static Logger logger = LoggerFactory.getLogger(EchoImpl.class);
 
     /**
      * @see org.apache.airavata.xbaya.test.service.echo.Echo#echo(org.xmlpull.v1.builder.XmlElement)
      */
     public XmlElement echo(XmlElement inputElement) {
-        logger.finest(XMLUtil.xmlElementToString(inputElement));
+        logger.info(XMLUtil.xmlElementToString(inputElement));
 
         ServiceNotificationSender notifier = ServiceNotificationSender.invoked(inputElement);
 
@@ -51,7 +52,7 @@ public class EchoImpl implements Echo {
         try {
             Thread.sleep(msec);
         } catch (InterruptedException e) {
-            logger.caught(e);
+            logger.error(e.getMessage(), e);
         }
 
         XmlElement output = input;
@@ -66,7 +67,7 @@ public class EchoImpl implements Echo {
         if (notifier != null) {
             notifier.sendingResult(outputElement);
         }
-        logger.finest(XMLUtil.xmlElementToString(outputElement));
+        logger.info(XMLUtil.xmlElementToString(outputElement));
         return outputElement;
     }
 }
\ No newline at end of file

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/echo/EchoService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/echo/EchoService.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/echo/EchoService.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/echo/EchoService.java
Thu Oct  6 19:47:45 2011
@@ -25,6 +25,8 @@ import java.io.File;
 
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.xbaya.test.service.Service;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import xsul.lead.LeadContextHeader;
 import xsul.wsdl.WsdlDefinitions;
@@ -32,11 +34,10 @@ import xsul.xhandler_soap_sticky_header.
 import xsul.xservo.XService;
 import xsul.xservo_soap.XSoapDocLiteralService;
 import xsul.xservo_soap_http.HttpBasedServices;
-import xsul5.MLogger;
 
 public class EchoService implements Service {
 
-    private final static MLogger logger = MLogger.getLogger();
+    private final static Logger logger = LoggerFactory.getLogger(EchoService.class);
 
     private HttpBasedServices httpServices;
 
@@ -106,7 +107,7 @@ public class EchoService implements Serv
             File wsdlFile = new File(SAMPLE_WSDL_DIRECTORY, Echo.WSDL_NAME);
             XMLUtil.saveXML(wsdl, wsdlFile);
         } catch (Exception e) {
-            logger.caught(e);
+            logger.error(e.getMessage(), e);
         }
     }
 }
\ No newline at end of file

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/multiplier/MultiplierImpl.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/multiplier/MultiplierImpl.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/multiplier/MultiplierImpl.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/multiplier/MultiplierImpl.java
Thu Oct  6 19:47:45 2011
@@ -25,21 +25,22 @@ import java.util.Random;
 
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.xbaya.test.service.ServiceNotificationSender;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.xmlpull.v1.builder.XmlElement;
 import org.xmlpull.v1.builder.XmlNamespace;
 
 import xsul.XmlConstants;
-import xsul5.MLogger;
 
 public class MultiplierImpl implements Multiplier {
 
-    private final static MLogger logger = MLogger.getLogger();
+    private final static Logger logger = LoggerFactory.getLogger(MultiplierImpl.class);
 
     /**
      * @see org.apache.airavata.xbaya.test.service.multiplier.Multiplier#multiply(org.xmlpull.v1.builder.XmlElement)
      */
     public XmlElement multiply(XmlElement inputElement) {
-        logger.finest(XMLUtil.xmlElementToString(inputElement));
+        logger.info(XMLUtil.xmlElementToString(inputElement));
 
         ServiceNotificationSender notifier = ServiceNotificationSender.invoked(inputElement);
 
@@ -57,7 +58,7 @@ public class MultiplierImpl implements M
         try {
             Thread.sleep(msec);
         } catch (InterruptedException e) {
-            logger.caught(e);
+            logger.error(e.getMessage(), e);
         }
 
         int z = x * y;
@@ -73,7 +74,7 @@ public class MultiplierImpl implements M
         if (notifier != null) {
             notifier.sendingResult(outputElement);
         }
-        logger.finest(XMLUtil.xmlElementToString(outputElement));
+        logger.info(XMLUtil.xmlElementToString(outputElement));
         return outputElement;
     }
 }
\ No newline at end of file

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/multiplier/MultiplierService.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/multiplier/MultiplierService.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/multiplier/MultiplierService.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/test/service/multiplier/MultiplierService.java
Thu Oct  6 19:47:45 2011
@@ -24,6 +24,8 @@ package org.apache.airavata.xbaya.test.s
 import java.io.File;
 
 import org.apache.airavata.common.utils.XMLUtil;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import xsul.lead.LeadContextHeader;
 import xsul.wsdl.WsdlDefinitions;
@@ -31,7 +33,6 @@ import xsul.xhandler_soap_sticky_header.
 import xsul.xservo.XService;
 import xsul.xservo_soap.XSoapDocLiteralService;
 import xsul.xservo_soap_http.HttpBasedServices;
-import xsul5.MLogger;
 
 public class MultiplierService {
 
@@ -41,7 +42,7 @@ public class MultiplierService {
 
     private final static String OUTPUT_WSDL_LOCATION = "wsdls/sample/multiplier-wsdl.xml";
 
-    private final static MLogger logger = MLogger.getLogger();
+    private final static Logger logger = LoggerFactory.getLogger(MultiplierService.class);
 
     private HttpBasedServices httpServices;
 
@@ -124,7 +125,7 @@ public class MultiplierService {
             File wsdlFile = new File(OUTPUT_WSDL_LOCATION);
             XMLUtil.saveXML(wsdl, wsdlFile);
         } catch (Exception e) {
-            logger.caught(e);
+            logger.error(e.getMessage(), e);
         }
     }
 

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/util/XBayaUtil.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/util/XBayaUtil.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/util/XBayaUtil.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/util/XBayaUtil.java
Thu Oct  6 19:47:45 2011
@@ -21,22 +21,26 @@
 
 package org.apache.airavata.xbaya.util;
 
-import java.io.InputStream;
-import java.net.*;
+import java.net.HttpURLConnection;
+import java.net.SocketTimeoutException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URL;
 
 import org.apache.airavata.xbaya.XBayaConfiguration;
 import org.apache.airavata.xbaya.XBayaEngine;
 import org.apache.airavata.xbaya.lead.LeadContextHeaderHelper;
 import org.apache.airavata.xbaya.monitor.MonitorConfiguration;
 import org.apache.airavata.xbaya.wf.Workflow;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import xsul.lead.LeadContextHeader;
 import xsul.lead.LeadResourceMapping;
-import xsul5.MLogger;
 
 public class XBayaUtil {
 
-    private static final MLogger logger = MLogger.getLogger();
+    private static final Logger logger = LoggerFactory.getLogger(XBayaUtil.class);
 
     public static LeadContextHeader buildLeadContextHeader(final XBayaEngine engine,
             MonitorConfiguration monitorConfiguration, String nodeId, LeadResourceMapping
resourceMapping)

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/wf/Workflow.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/wf/Workflow.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/wf/Workflow.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/wf/Workflow.java
Thu Oct  6 19:47:45 2011
@@ -41,6 +41,7 @@ import javax.xml.namespace.QName;
 
 import org.apache.airavata.common.exception.UtilsException;
 import org.apache.airavata.common.utils.StringUtil;
+import org.apache.airavata.common.utils.WSDLUtil;
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.xbaya.XBayaConstants;
 import org.apache.airavata.xbaya.XBayaException;
@@ -75,13 +76,12 @@ import org.apache.airavata.xbaya.streami
 import org.apache.commons.codec.binary.Base64;
 import org.gpel.GpelConstants;
 import org.gpel.model.GpelProcess;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.xmlpull.infoset.XmlElement;
 import org.xmlpull.infoset.XmlInfosetBuilder;
 import org.xmlpull.infoset.XmlNamespace;
-import org.apache.airavata.common.utils.WSDLUtil;
-
 
-import xsul5.MLogger;
 import xsul5.XmlConstants;
 import xsul5.wsdl.WsdlDefinitions;
 
@@ -121,7 +121,7 @@ public class Workflow {
 
     private static final String ID_ATTRIBUTE = "id";
 
-    private static final MLogger logger = MLogger.getLogger();
+    private static final Logger logger = LoggerFactory.getLogger(Workflow.class);
 
     private WSGraph graph;
 
@@ -472,7 +472,7 @@ public class Workflow {
      * @param wsdl
      */
     public void addWSDL(String id, WsdlDefinitions wsdl) {
-        logger.finest("id: " + id);
+        logger.info("id: " + id);
         this.wsdlMap.put(id, wsdl);
     }
 
@@ -589,7 +589,7 @@ public class Workflow {
                 imageElement.setText(new String(base64));
             } catch (IOException e) {
                 // No image
-                logger.caught(e);
+                logger.error(e.getMessage(), e);
             }
         }
 
@@ -619,7 +619,7 @@ public class Workflow {
         Map<WSComponentKey, WSComponent> components = new HashMap<WSComponentKey,
WSComponent>();
         for (WSNode node : GraphUtil.getWSNodes(this.graph)) {
             String id = node.getWSDLID();
-            logger.finest("id: " + id);
+            logger.info("id: " + id);
             WsdlDefinitions wsdl = this.wsdlMap.get(id);
 
             if (wsdl == null) {
@@ -663,7 +663,7 @@ public class Workflow {
             }
             node.setComponent(component);
             }catch (UtilsException e){
-                logger.throwing(e);
+                logger.error(e.getMessage(), e);
             }
         }
 
@@ -722,7 +722,7 @@ public class Workflow {
             try {
                 wsdl = WSDLUtil.stringToWSDL(wsdlText);
             } catch (UtilsException e) {
-                logger.throwing(e);
+                logger.error(e.getMessage(), e);
             }
             String id = wsdlElement.attributeValue(NS_XWF, ID_ATTRIBUTE);
             if (id == null || id.length() == 0) {
@@ -744,7 +744,7 @@ public class Workflow {
             } catch (IOException e) {
                 // This should not happen and it's OK that image is broken. We
                 // can reproduce it anytime.
-                logger.caught(e);
+                logger.error(e.getMessage(), e);
             }
         }
 
@@ -911,7 +911,7 @@ public class Workflow {
                 this.odeWsdlMap.put(id, wsdl);
             }
         } catch (Exception e) {
-            logger.throwing(e);
+            logger.error(e.getMessage(), e);
         }
         new ODEBPELTransformer()
                 .generateODEBPEL(this.odeProcess, this.getName(), this.odeWorkflowWSDL, this.odeWsdlMap);

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/wf/gui/WorkflowMenu.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/wf/gui/WorkflowMenu.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/wf/gui/WorkflowMenu.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/wf/gui/WorkflowMenu.java
Thu Oct  6 19:47:45 2011
@@ -40,8 +40,8 @@ import org.apache.airavata.xbaya.graph.g
 import org.apache.airavata.xbaya.gridchem.gui.GridChemRunnerWindow;
 import org.apache.airavata.xbaya.jython.gui.JythonRunnerWindow;
 import org.apache.airavata.xbaya.wf.Workflow;
-
-import xsul5.MLogger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 public class WorkflowMenu {
 
@@ -73,7 +73,7 @@ public class WorkflowMenu {
 
     private JMenuItem partitionStreamflowItem;
 
-    private static final MLogger logger = MLogger.getLogger();
+    private static final Logger logger = LoggerFactory.getLogger(WorkflowMenu.class);
 
     /**
      * Constructs a WorkflowMenu.
@@ -343,7 +343,7 @@ public class WorkflowMenu {
                 try {
                     WorkflowMenu.this.engine.dispose();
                 } catch (XBayaException e) {
-                    logger.caught(e);
+                    logger.error(e.getMessage(), e);
                 } finally {
                     WorkflowMenu.this.engine.getGUI().getFrame().dispose();
                 }

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/WorkflowClient.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/WorkflowClient.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/WorkflowClient.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/WorkflowClient.java
Thu Oct  6 19:47:45 2011
@@ -37,8 +37,9 @@ import org.gpel.client.GcInstance;
 import org.gpel.client.GcSearchList;
 import org.gpel.client.GpelClient;
 import org.gpel.client.security.GpelUserX509Credential;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
-import xsul5.MLogger;
 import xsul5.wsdl.WsdlDefinitions;
 
 public abstract class WorkflowClient extends EventProducer {
@@ -65,7 +66,7 @@ public abstract class WorkflowClient ext
 
     protected static final String GRAPH_MIME_TYPE = "application/x-xbaya+xml";
 
-    protected final static MLogger logger = MLogger.getLogger();
+    protected final static Logger logger = LoggerFactory.getLogger(WorkflowClient.class);
 
     protected URI engineURL;
 
@@ -123,7 +124,7 @@ public abstract class WorkflowClient ext
      */
     public URI createScriptAndDeploy(Workflow workflow, boolean redeploy) throws GraphException,
             WorkflowEngineException {
-        logger.entering(new Object[] { workflow });
+        logger.debug("Entering: " + workflow.toString());
 
         // Generate a BPEL process.
         createScript(workflow);

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/proxy/GPELWorkflowClient.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/proxy/GPELWorkflowClient.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/proxy/GPELWorkflowClient.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/proxy/GPELWorkflowClient.java
Thu Oct  6 19:47:45 2011
@@ -45,15 +45,16 @@ import org.apache.airavata.xbaya.securit
 import org.apache.airavata.xbaya.wf.Workflow;
 import org.apache.airavata.xbaya.workflow.WorkflowEngineException;
 import org.gpel.client.GcInstance;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import xsul.XmlConstants;
 import xsul.invoker.gsi.GsiInvoker;
 import xsul5.wsdl.WsdlDefinitions;
-import edu.indiana.extreme.util.mini_logger.MLogger;
 
 public class GPELWorkflowClient implements WorkflowClient {
 
-    private static final MLogger logger = MLogger.getLogger();
+    private static final Logger logger = LoggerFactory.getLogger(GPELWorkflowClient.class);
 
     private WorkflowContext context;
     private Workflow workflow;
@@ -106,7 +107,7 @@ public class GPELWorkflowClient implemen
             String value = getWorkflowInputValue(inputs, componentPort.getName());
 
             if (value == null) {
-                logger.severe("EXCEPTION: Value for input component is not set");
+                logger.error("EXCEPTION: Value for input component is not set");
                 throw new RuntimeException("Value for input component is not set" + componentPort.getName());
             } else {
                 componentPort.setDefaultValue(value);

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/proxy/WorkflowProxyClient.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/proxy/WorkflowProxyClient.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/proxy/WorkflowProxyClient.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/workflow/proxy/WorkflowProxyClient.java
Thu Oct  6 19:47:45 2011
@@ -31,6 +31,7 @@ import java.util.Map;
 
 import javax.xml.namespace.QName;
 
+import org.apache.airavata.common.utils.StringUtil;
 import org.apache.airavata.common.utils.XMLUtil;
 import org.apache.airavata.xbaya.XBayaConfiguration;
 import org.apache.airavata.xbaya.XBayaConstants;
@@ -45,7 +46,6 @@ import org.apache.airavata.xbaya.myproxy
 import org.apache.airavata.xbaya.myproxy.gui.MyProxyChecker;
 import org.apache.airavata.xbaya.security.UserX509Credential;
 import org.apache.airavata.xbaya.security.XBayaSecurity;
-import org.apache.airavata.common.utils.StringUtil;
 import org.apache.airavata.xbaya.wf.Workflow;
 import org.apache.airavata.xbaya.workflow.WorkflowClient;
 import org.apache.airavata.xbaya.workflow.WorkflowEngineException;
@@ -542,7 +542,6 @@ public class WorkflowProxyClient extends
 	@SuppressWarnings("boxing")
 	public synchronized GcSearchList list(int maxNum, WorkflowType type)
 			throws WorkflowProxyException {
-		logger.entering(new Object[] { maxNum });
 
 		try {
 			// TODO return the ones only related to the user.

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/xregistry/XRegistryComponent.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/xregistry/XRegistryComponent.java?rev=1179790&r1=1179789&r2=1179790&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/xregistry/XRegistryComponent.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/xregistry/XRegistryComponent.java
Thu Oct  6 19:47:45 2011
@@ -40,10 +40,11 @@ import org.apache.airavata.xbaya.securit
 import org.ietf.jgss.GSSCredential;
 import org.ogce.xregistry.client.XRegistryClient;
 import org.ogce.xregistry.utils.XRegistryClientException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import xregistry.generated.ServiceDescData;
 import xregistry.generated.WsdlData;
-import xsul5.MLogger;
 
 public class XRegistryComponent extends ComponentRegistry {
 
@@ -62,7 +63,7 @@ public class XRegistryComponent extends 
         CONCRETE;
     }
 
-    private static final MLogger logger = MLogger.getLogger();
+    private static final Logger logger = LoggerFactory.getLogger(XRegistryComponent.class);
 
     private URI url;
 
@@ -128,7 +129,7 @@ public class XRegistryComponent extends 
             Map<String, ComponentTreeNode> namespaceMap = new HashMap<String, ComponentTreeNode>();
 
             for (QName qname : qnames) {
-                logger.finest("qname: " + qname);
+                logger.info("qname: " + qname);
                 XRegistryComponentReference componentRef = new XRegistryComponentReference(this,
qname);
                 String namespace = qname.getNamespaceURI();
                 ComponentTreeNode namespaceNode = namespaceMap.get(namespace);
@@ -173,7 +174,7 @@ public class XRegistryComponent extends 
             } else {
                 wsdl = this.xregistryClient.getAbstractWsdl(qname);
             }
-            logger.finest("concreateWSDL:" + wsdl);
+            logger.info("concreateWSDL:" + wsdl);
             List<WSComponent> components = WSComponentFactory.createComponents(wsdl);
             return components;
         } catch (XRegistryClientException e) {



Mime
View raw message