You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ng...@apache.org on 2007/10/17 04:25:40 UTC

svn commit: r585331 - in /webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl: EndpointDescriptionImpl.java URIResolverImpl.java

Author: ngallardo
Date: Tue Oct 16 19:25:37 2007
New Revision: 585331

URL: http://svn.apache.org/viewvc?rev=585331&view=rev
Log:
Changing statements to log.debug to prevent unnecessary log out.

Modified:
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java?rev=585331&r1=585330&r2=585331&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java Tue Oct 16 19:25:37 2007
@@ -825,8 +825,9 @@
                             getServiceDescription().getServiceQName(),
                             getPortQName().getLocalPart());
 
-            //TODO: Temporary, please change the following log.info to log.debug
-            log.info("Building AxisService from wsdl: " + getServiceDescriptionImpl().getWSDLWrapper().getWSDLLocation());
+            if (log.isDebugEnabled()) {
+                log.debug("Building AxisService from wsdl: " + getServiceDescriptionImpl().getWSDLWrapper().getWSDLLocation());    
+            }
             
             if (getServiceDescriptionImpl().isDBCMap()) {
                 //this.class.getClass().getClassLoader();

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java?rev=585331&r1=585330&r2=585331&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/URIResolverImpl.java Tue Oct 16 19:25:37 2007
@@ -56,8 +56,9 @@
 
     public InputSource resolveEntity(String namespace, String schemaLocation,
                                      String baseUri) {
-        //TODO: Temporary, please change the following log.info to log.debug
-        log.info("resolveEntity: ["+ namespace + "]["+ schemaLocation + "][ " + baseUri+ "]");
+        if (log.isDebugEnabled()) {
+            log.debug("resolveEntity: ["+ namespace + "]["+ schemaLocation + "][ " + baseUri+ "]");
+        }
         
         InputStream is = null;
         URI pathURI = null;
@@ -180,8 +181,11 @@
         // imported XSDs that have been read.  If this value is null, then circular XSDs will 
         // cause infinite recursive reads.
         returnInputSource.setSystemId(pathURIStr != null ? pathURIStr : schemaLocation);
-        //TODO: Temporary, please change the following log.info to log.debug
-        log.info("returnInputSource :" + returnInputSource.getSystemId());
+        
+        if (log.isDebugEnabled()) {
+            log.debug("returnInputSource :" + returnInputSource.getSystemId());    
+        }
+        
         return returnInputSource;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org