xml-rpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpcServer.java
Date Fri, 09 Aug 2002 09:14:24 GMT
dlr         2002/08/09 02:14:24

  Modified:    src/java/org/apache/xmlrpc XmlRpcServer.java
  Log:
  Switched System.err println for general debugging statements to
  System.out.
  
  Revision  Changes    Path
  1.28      +9 -9      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcServer.java
  
  Index: XmlRpcServer.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcServer.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -u -r1.27 -r1.28
  --- XmlRpcServer.java	7 Aug 2002 17:09:44 -0000	1.27
  +++ XmlRpcServer.java	9 Aug 2002 09:14:24 -0000	1.28
  @@ -171,7 +171,7 @@
                   workers += 1;
                   if (workers >= maxThreads * .95)
                   {
  -                    System.err.println("95% of XML-RPC server threads in use");
  +                    System.out.println("95% of XML-RPC server threads in use");
                   }
                   return new Worker();
               }
  @@ -238,8 +238,8 @@
                   parse(is);
                   if (XmlRpc.debug)
                   {
  -                    System.err.println("method name: " + methodName);
  -                    System.err.println("inparams: " + inParams);
  +                    System.out.println("method name: " + methodName);
  +                    System.out.println("inparams: " + inParams);
                   }
                   // check for errors from the XML parser
                   if (errorLevel > NONE)
  @@ -294,7 +294,7 @@
                   }
                   if (XmlRpc.debug)
                   {
  -                    System.err.println("outparam = " + outParam);
  +                    System.out.println("outparam = " + outParam);
                   }
                   writer = new XmlWriter(buffer, encoding);
                   writeResponse(outParam, writer);
  @@ -379,7 +379,7 @@
               }
               if (XmlRpc.debug)
               {
  -                System.err.println("Spent " + (System.currentTimeMillis() - now)
  +                System.out.println("Spent " + (System.currentTimeMillis() - now)
                           + " millis in request");
               }
               return result;
  @@ -445,7 +445,7 @@
                   invokeTarget.getClass();
           if (XmlRpc.debug)
           {
  -            System.err.println("Target object is " + targetClass);
  +            System.out.println("Target object is " + targetClass);
           }
       }
   
  @@ -488,10 +488,10 @@
   
           if (XmlRpc.debug)
           {
  -            System.err.println("Searching for method: " + methodName);
  +            System.out.println("Searching for method: " + methodName);
               for (int i = 0; i < argClasses.length; i++)
               {
  -                System.err.println("Parameter " + i + ": " + argClasses[i]
  +                System.out.println("Parameter " + i + ": " + argClasses[i]
                           + " = " + argValues[i]);
               }
           }
  
  
  

Mime
View raw message