tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r554570 - in /tomcat/tc6.0.x/trunk: java/org/apache/catalina/manager/JMXProxyServlet.java webapps/docs/changelog.xml
Date Mon, 09 Jul 2007 08:59:04 GMT
Author: rjung
Date: Mon Jul  9 01:59:02 2007
New Revision: 554570

URL: http://svn.apache.org/viewvc?view=rev&rev=554570
Log:
Don't write error on System.out, use log() instead.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java
    tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java?view=diff&rev=554570&r1=554569&r2=554570
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java Mon Jul  9
01:59:02 2007
@@ -176,8 +176,8 @@
                     try {
                         value=mBeanServer.getAttribute(oname, attName);
                     } catch( Throwable t) {
-                        System.out.println("Error getting attribute " + oname +
-                                " " + attName + " " + t.toString());
+                        log("Error getting attribute " + oname +
+                            " " + attName + " " + t.toString());
                         continue;
                     }
                     if( value==null ) continue;

Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?view=diff&rev=554570&r1=554569&r2=554570
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Mon Jul  9 01:59:02 2007
@@ -101,6 +101,9 @@
   <subsection name="Webapps">
     <changelog>
       <fix>
+        Don't write error on System.out, use log() instead. (rjung)
+      </fix>
+      <fix>
         <bug>39813</bug>: Correct handling of new line characters in JMX
         attributes. Patch provided by R Bramley. Ported from tc5.5.x r415029. (markt,rjung)
       </fix>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message