git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@554571
13f79535-47bb-0310-9956-
ffa450edef68
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;
<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>