Don't write error on System.out, use log() instead.
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 9 Jul 2007 08:59:33 +0000 (08:59 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 9 Jul 2007 08:59:33 +0000 (08:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@554571 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/manager/JMXProxyServlet.java
webapps/docs/changelog.xml

index bfa9175..019ec29 100644 (file)
@@ -176,8 +176,8 @@ public class JMXProxyServlet extends HttpServlet  {
                     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;
index 9e9cac9..207cb4b 100644 (file)
@@ -39,6 +39,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>