Author: andreasmyth
Date: Mon Jul 16 06:07:37 2007
New Revision: 556614

URL: http://svn.apache.org/viewvc?view=rev&rev=556614
Log:
Removed unwanted log statements that got included in last commit.

Modified:
    
incubator/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java
    
incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java

Modified: 
incubator/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java?view=diff&rev=556614&r1=556613&r2=556614
==============================================================================
--- 
incubator/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java
 (original)
+++ 
incubator/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/attachment/wsdl11/Wsdl11AttachmentPolicyProvider.java
 Mon Jul 16 06:07:37 2007
@@ -23,8 +23,6 @@
 import java.util.List;
 import java.util.Map;
 import java.util.StringTokenizer;
-import java.util.logging.Level;
-import java.util.logging.Logger;
 
 import javax.wsdl.Definition;
 import javax.wsdl.extensions.ExtensibilityElement;
@@ -32,11 +30,9 @@
 import javax.xml.namespace.QName;
 
 import org.apache.cxf.Bus;
-import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.service.model.AbstractDescriptionElement;
 import org.apache.cxf.service.model.BindingFaultInfo;
-import org.apache.cxf.service.model.BindingInfo;
 import org.apache.cxf.service.model.BindingMessageInfo;
 import org.apache.cxf.service.model.BindingOperationInfo;
 import org.apache.cxf.service.model.DescriptionInfo;
@@ -47,7 +43,6 @@
 import org.apache.cxf.service.model.ServiceInfo;
 import org.apache.cxf.ws.policy.PolicyConstants;
 import org.apache.cxf.ws.policy.PolicyProvider;
-import org.apache.cxf.ws.policy.PolicyUtils;
 import org.apache.cxf.ws.policy.attachment.AbstractPolicyProvider;
 import 
org.apache.cxf.ws.policy.attachment.reference.LocalServiceModelReferenceResolver;
 import org.apache.cxf.ws.policy.attachment.reference.ReferenceResolver;
@@ -63,8 +58,6 @@
 public class Wsdl11AttachmentPolicyProvider extends AbstractPolicyProvider 
     implements PolicyProvider {
 
-    private static final Logger LOG = 
LogUtils.getL7dLogger(Wsdl11AttachmentPolicyProvider.class);
-    
     public Wsdl11AttachmentPolicyProvider() {
         this(null);
     }
@@ -168,15 +161,9 @@
         
         List<UnknownExtensibilityElement> extensions = 
             ex.getExtensors(UnknownExtensibilityElement.class);
-        if (ex instanceof BindingInfo && null != extensions) {
-            LOG.fine("Number of extensions: " + extensions.size());
-        }
         PolicyConstants constants = bus.getExtension(PolicyConstants.class);
         if (null != extensions) {
             for (UnknownExtensibilityElement e : extensions) {
-                if (ex instanceof BindingInfo) {
-                    LOG.fine("Extension of type: " + e.getElementType());
-                }
                 Policy p = null;
                 if (constants.getPolicyElemQName().equals(e.getElementType())) 
{
                     p = builder.getPolicy(e.getElement());                    
@@ -186,9 +173,6 @@
                     if (null != ref) {
                         p = resolveReference(ref, di);
                     }
-                } else {
-                    LOG.fine("No match for " + constants.getPolicyElemQName()
-                             + " or " + 
constants.getPolicyReferenceElemQName());
                 }
                 if (null != p) {
                     elementPolicy = elementPolicy.merge(p);
@@ -219,7 +203,6 @@
             }
         }
 
-        PolicyUtils.logPolicy(LOG, Level.FINE, "Element policy for " + ex, 
elementPolicy);
         return elementPolicy;
     }
     

Modified: 
incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java?view=diff&rev=556614&r1=556613&r2=556614
==============================================================================
--- 
incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
 (original)
+++ 
incubator/cxf/trunk/testutils/src/main/java/org/apache/cxf/testutil/common/ServerLauncher.java
 Mon Jul 16 06:07:37 2007
@@ -338,7 +338,6 @@
         
cmd.add("-Djavax.xml.ws.spi.Provider=org.apache.cxf.bus.jaxws.spi.ProviderImpl");
         
         String loggingPropertiesFile = 
System.getProperty("java.util.logging.config.file");
-        loggingPropertiesFile = "c:/logging.properties";
         if (null != loggingPropertiesFile) {
             cmd.add("-Djava.util.logging.config.file=" + 
loggingPropertiesFile);
         } 


Reply via email to