[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: How to supress Netty connection exception logging

timfox do-not-reply at jboss.com
Fri Mar 20 04:10:06 EDT 2009


Thanks Trustin, sorry to waste your time :)

The printStackTrace was added here:


  | Author: jmesnil
  | Date: 2009-02-26 12:10:04 -0500 (Thu, 26 Feb 2009)
  | New Revision: 5941
  | 
  | Modified:
  |    trunk/.classpath
  |    trunk/build-thirdparty.xml
  |    trunk/messaging.ipr
  |    trunk/src/main/org/jboss/messaging/integration/transports/netty/HttpAcceptorHandler.java
  |    trunk/src/main/org/jboss/messaging/integration/transports/netty/NettyAcceptor.java
  |    trunk/src/main/org/jboss/messaging/integration/transports/netty/NettyConnector.java
  |    trunk/tests/src/org/jboss/messaging/tests/unit/core/remoting/impl/netty/NettyConnectionTest.java
  | Log:
  | updated netty to 3.1.0.ALPHA4
  | 
  | Modified: trunk/src/main/org/jboss/messaging/integration/transports/netty/NettyConnector.java
  | ===================================================================
  | --- trunk/src/main/org/jboss/messaging/integration/transports/netty/NettyConnector.java	2009-02-26 16:15:17 UTC (rev 5940)
  | +++ trunk/src/main/org/jboss/messaging/integration/transports/netty/NettyConnector.java	2009-02-26 17:10:04 UTC (rev 5941)
  | @@ -56,9 +56,9 @@
  |  import org.jboss.netty.channel.ChannelPipelineCoverage;
  |  import org.jboss.netty.channel.ChannelPipelineFactory;
  |  import org.jboss.netty.channel.ChannelStateEvent;
  | -import org.jboss.netty.channel.DefaultMessageEvent;
  |  import org.jboss.netty.channel.MessageEvent;
  |  import org.jboss.netty.channel.SimpleChannelHandler;
  | +import org.jboss.netty.channel.UpstreamMessageEvent;
  |  import org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory;
  |  import org.jboss.netty.channel.socket.oio.OioClientSocketChannelFactory;
  |  import org.jboss.netty.handler.codec.http.DefaultHttpRequest;
  | @@ -371,6 +371,7 @@
  |        }
  |        else
  |        {
  | +         future.getCause().printStackTrace();
  |           return null;
  | 



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219725#4219725

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219725



More information about the jboss-dev-forums mailing list