Author: kwall
Date: Wed Nov 11 09:25:03 2015
New Revision: 1713786
URL: http://svn.apache.org/viewvc?rev=1713786&view=rev
Log:
QPID-6761: Remove duplicated logging
Modified:
qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/servlet/rest/AbstractServlet.java
Modified:
qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/servlet/rest/AbstractServlet.java
URL:
http://svn.apache.org/viewvc/qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/servlet/rest/AbstractServlet.java?rev=1713786&r1=1713785&r2=1713786&view=diff
==============================================================================
---
qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/servlet/rest/AbstractServlet.java
(original)
+++
qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/servlet/rest/AbstractServlet.java
Wed Nov 11 09:25:03 2015
@@ -223,15 +223,10 @@ public abstract class AbstractServlet ex
{
Throwable cause = e.getCause();
- // Jetty uses it EofException to signal an EOF from the peer (e.g.
broken pipe etc). It arises in
+ // Jetty uses EofException to signal an EOF from the peer (e.g.
broken pipe etc). It arises in
// situations such as abnormal browser termination etc.
if (cause instanceof org.eclipse.jetty.io.EofException)
{
- if (LOGGER.isDebugEnabled())
- {
- String message = cause.getCause() != null ?
cause.getCause().getMessage() : cause.getMessage();
- LOGGER.debug("IO error : {}", message);
- }
throw (IOException)cause;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]