cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r646175 - in /incubator/cxf/trunk/tools: common/src/main/resources/org/apache/cxf/tools/common/ javato/ws/src/main/java/org/apache/cxf/tools/java2ws/ validator/src/main/java/org/apache/cxf/tools/validator/ wsdlto/core/src/main/java/org/apac...
Date Wed, 09 Apr 2008 01:45:32 GMT
Author: bimargulies
Date: Tue Apr  8 18:45:31 2008
New Revision: 646175

URL: http://svn.apache.org/viewvc?rev=646175&view=rev
Log:
Turn down the logging level on all the command-line mains.
Tune the logging levels more carefully.

Modified:
    incubator/cxf/trunk/tools/common/src/main/resources/org/apache/cxf/tools/common/commandLogging.properties
    incubator/cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java
    incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java
    incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java
    incubator/cxf/trunk/tools/wsdlto/frontend/javascript/src/main/java/org/apache/cxf/tools/wsdlto/javascript/WSDLToJavaScript.java
    incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToService.java
    incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToSoap.java
    incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToXML.java
    incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/XSDToWSDL.java

Modified: incubator/cxf/trunk/tools/common/src/main/resources/org/apache/cxf/tools/common/commandLogging.properties
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/common/src/main/resources/org/apache/cxf/tools/common/commandLogging.properties?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/common/src/main/resources/org/apache/cxf/tools/common/commandLogging.properties
(original)
+++ incubator/cxf/trunk/tools/common/src/main/resources/org/apache/cxf/tools/common/commandLogging.properties
Tue Apr  8 18:45:31 2008
@@ -18,5 +18,10 @@
 handlers= java.util.logging.ConsoleHandler
 java.util.logging.ConsoleHandler.level = INFO
 java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
-.level= WARNING
-#org.apache.cxf.level=INFO
+.level= INFO
+org.apache.cxf.bus.spring.level=WARNING
+org.springframework.level=WARNING
+
+
+
+

Modified: incubator/cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java
(original)
+++ incubator/cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java
Tue Apr  8 18:45:31 2008
@@ -22,6 +22,7 @@
 import java.util.List;
 
 import org.apache.cxf.common.util.StringUtils;
+import org.apache.cxf.tools.common.CommandInterfaceUtils;
 import org.apache.cxf.tools.common.toolspec.ToolRunner;
 
 public class JavaToWS {
@@ -37,6 +38,7 @@
     }
 
     public static void main(String[] args) {
+        CommandInterfaceUtils.commandCommonMain();
         JavaToWS j2w = new JavaToWS(args);
         try {
             j2w.run();

Modified: incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java
(original)
+++ incubator/cxf/trunk/tools/validator/src/main/java/org/apache/cxf/tools/validator/WSDLValidator.java
Tue Apr  8 18:45:31 2008
@@ -24,6 +24,7 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.tools.common.AbstractCXFToolContainer;
+import org.apache.cxf.tools.common.CommandInterfaceUtils;
 import org.apache.cxf.tools.common.ToolConstants;
 import org.apache.cxf.tools.common.ToolContext;
 import org.apache.cxf.tools.common.ToolException;
@@ -89,6 +90,7 @@
     }
 
     public static void main(String[] pargs) {
+        CommandInterfaceUtils.commandCommonMain();
         try { 
             ToolRunner.runTool(WSDLValidator.class, WSDLValidator.class
                 .getResourceAsStream("wsdlvalidator.xml"), false, pargs);

Modified: incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/core/PluginLoader.java
Tue Apr  8 18:45:31 2008
@@ -105,7 +105,7 @@
 
     private void loadPlugins(Enumeration<URL> pluginFiles) throws IOException {
         if (pluginFiles == null) {
-            LOG.log(Level.INFO, "FOUND_NO_PLUGINS");
+            LOG.log(Level.WARNING, "FOUND_NO_PLUGINS");
             return;
         }
 
@@ -130,7 +130,7 @@
 
     public void loadPlugin(URL url) throws IOException {
         try {
-            LOG.log(Level.INFO, "PLUGIN_LOADING", url);
+            LOG.log(Level.FINE, "PLUGIN_LOADING", url);
             loadPlugin(getPlugin(url));
         } catch (JAXBException e) {
             Message msg = new Message("PLUGIN_LOAD_FAIL", LOG, url);
@@ -141,7 +141,7 @@
 
     public void loadPlugin(String resource) {
         try {
-            LOG.log(Level.INFO, "PLUGIN_LOADING", resource);
+            LOG.log(Level.FINE, "PLUGIN_LOADING", resource);
             loadPlugin(getPlugin(resource));
         } catch (JAXBException e) {
             Message msg = new Message("PLUGIN_LOAD_FAIL", LOG, resource);
@@ -157,12 +157,12 @@
 
     protected void loadPlugin(Plugin plugin) {
         if (plugin.getFrontend().size() > 0) {
-            LOG.log(Level.INFO, "FOUND_FRONTENDS", new Object[]{plugin.getName(),
+            LOG.log(Level.FINE, "FOUND_FRONTENDS", new Object[]{plugin.getName(),
                                                                 plugin.getFrontend().size()});
         }
 
         for (FrontEnd frontend : plugin.getFrontend()) {
-            LOG.log(Level.INFO, "LOADING_FRONTEND", new Object[]{frontend.getName(), plugin.getName()});
+            LOG.log(Level.FINE, "LOADING_FRONTEND", new Object[]{frontend.getName(), plugin.getName()});
             if (StringUtils.isEmpty(frontend.getName())) {
                 LOG.log(Level.WARNING, "FRONTEND_MISSING_NAME", plugin.getName());
                 continue;
@@ -178,12 +178,12 @@
         }
 
         if (plugin.getDatabinding().size() > 0) {
-            LOG.log(Level.INFO, "FOUND_DATABINDINGS", new Object[]{plugin.getName(),
+            LOG.log(Level.FINE, "FOUND_DATABINDINGS", new Object[]{plugin.getName(),
                                                                    plugin.getDatabinding().size()});
         }
 
         for (DataBinding databinding : plugin.getDatabinding()) {
-            LOG.log(Level.INFO, "LOADING_DATABINDING", new Object[]{databinding.getName(),
plugin.getName()});
+            LOG.log(Level.FINE, "LOADING_DATABINDING", new Object[]{databinding.getName(),
plugin.getName()});
             if (StringUtils.isEmpty(databinding.getName())) {
                 LOG.log(Level.WARNING, "DATABINDING_MISSING_NAME", plugin.getName());
                 continue;

Modified: incubator/cxf/trunk/tools/wsdlto/frontend/javascript/src/main/java/org/apache/cxf/tools/wsdlto/javascript/WSDLToJavaScript.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/frontend/javascript/src/main/java/org/apache/cxf/tools/wsdlto/javascript/WSDLToJavaScript.java?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/frontend/javascript/src/main/java/org/apache/cxf/tools/wsdlto/javascript/WSDLToJavaScript.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/frontend/javascript/src/main/java/org/apache/cxf/tools/wsdlto/javascript/WSDLToJavaScript.java
Tue Apr  8 18:45:31 2008
@@ -24,6 +24,7 @@
 import java.util.List;
 
 import org.apache.cxf.common.util.StringUtils;
+import org.apache.cxf.tools.common.CommandInterfaceUtils;
 import org.apache.cxf.tools.common.ToolConstants;
 import org.apache.cxf.tools.common.ToolContext;
 import org.apache.cxf.tools.common.ToolException;
@@ -87,6 +88,8 @@
     }
 
     public static void main(String[] pargs) {
+        
+        CommandInterfaceUtils.commandCommonMain();
 
         WSDLToJavaScript w2j = new WSDLToJavaScript(pargs);
         try {

Modified: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToService.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToService.java?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToService.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToService.java
Tue Apr  8 18:45:31 2008
@@ -25,6 +25,7 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.tools.common.AbstractCXFToolContainer;
+import org.apache.cxf.tools.common.CommandInterfaceUtils;
 import org.apache.cxf.tools.common.ToolConstants;
 import org.apache.cxf.tools.common.ToolContext;
 import org.apache.cxf.tools.common.ToolException;
@@ -103,6 +104,8 @@
     }
 
     public static void main(String[] pargs) {
+        
+        CommandInterfaceUtils.commandCommonMain();
         try {
             ToolRunner.runTool(WSDLToService.class, WSDLToService.class
                 .getResourceAsStream("wsdl2service.xml"), false, pargs);

Modified: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToSoap.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToSoap.java?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToSoap.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToSoap.java
Tue Apr  8 18:45:31 2008
@@ -25,6 +25,7 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.tools.common.AbstractCXFToolContainer;
+import org.apache.cxf.tools.common.CommandInterfaceUtils;
 import org.apache.cxf.tools.common.ToolConstants;
 import org.apache.cxf.tools.common.ToolContext;
 import org.apache.cxf.tools.common.ToolException;
@@ -117,6 +118,7 @@
     }
 
     public static void main(String[] pargs) {
+        CommandInterfaceUtils.commandCommonMain();
         try {
             ToolRunner.runTool(WSDLToSoap.class,
                                WSDLToSoap.class.getResourceAsStream("wsdl2soap.xml"),

Modified: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToXML.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToXML.java?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToXML.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/WSDLToXML.java
Tue Apr  8 18:45:31 2008
@@ -25,6 +25,7 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.tools.common.AbstractCXFToolContainer;
+import org.apache.cxf.tools.common.CommandInterfaceUtils;
 import org.apache.cxf.tools.common.ToolConstants;
 import org.apache.cxf.tools.common.ToolContext;
 import org.apache.cxf.tools.common.ToolException;
@@ -117,6 +118,7 @@
     }
 
     public static void main(String[] pargs) {
+        CommandInterfaceUtils.commandCommonMain();
         try {
             ToolRunner.runTool(WSDLToXML.class,
                                WSDLToXML.class.getResourceAsStream("wsdl2xml.xml"),

Modified: incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/XSDToWSDL.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/XSDToWSDL.java?rev=646175&r1=646174&r2=646175&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/XSDToWSDL.java
(original)
+++ incubator/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/XSDToWSDL.java
Tue Apr  8 18:45:31 2008
@@ -25,6 +25,7 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.tools.common.AbstractCXFToolContainer;
+import org.apache.cxf.tools.common.CommandInterfaceUtils;
 import org.apache.cxf.tools.common.ToolConstants;
 import org.apache.cxf.tools.common.ToolContext;
 import org.apache.cxf.tools.common.ToolException;
@@ -98,6 +99,7 @@
     }
 
     public static void main(String[] pargs) {
+        CommandInterfaceUtils.commandCommonMain();
         try {
             ToolRunner.runTool(XSDToWSDL.class, XSDToWSDL.class
                 .getResourceAsStream("xsd2wsdl.xml"), false, pargs);



Mime
View raw message