Repository: camel
Updated Branches:
  refs/heads/camel-2.15.x e341c53e9 -> aea83e61a
  refs/heads/camel-2.16.x 106e75f5f -> 0450bba6d
  refs/heads/master 62f1617c2 -> 216dfdf7f


CAMEL-9335: camel-netty-http - Suppress Connection reset by peer WARNs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/216dfdf7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/216dfdf7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/216dfdf7

Branch: refs/heads/master
Commit: 216dfdf7fda54d5a222e76fbba9ce12bed12f8a4
Parents: 62f1617
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Nov 18 09:40:01 2015 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Nov 18 09:40:01 2015 +0100

----------------------------------------------------------------------
 .../component/netty/http/handlers/HttpServerChannelHandler.java    | 2 +-
 .../component/netty4/http/handlers/HttpServerChannelHandler.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/216dfdf7/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/handlers/HttpServerChannelHandler.java
----------------------------------------------------------------------
diff --git 
a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/handlers/HttpServerChannelHandler.java
 
b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/handlers/HttpServerChannelHandler.java
index 7c46bec..a1d8a26 100644
--- 
a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/handlers/HttpServerChannelHandler.java
+++ 
b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/handlers/HttpServerChannelHandler.java
@@ -314,7 +314,7 @@ public class HttpServerChannelHandler extends 
ServerChannelHandler {
             if (exceptionEvent.getCause() instanceof ClosedChannelException) {
                 LOG.debug("Channel already closed. Ignoring this exception.");
             } else {
-                LOG.warn("Closing channel as an exception was thrown from 
Netty", exceptionEvent.getCause());
+                LOG.debug("Closing channel as an exception was thrown from 
Netty", exceptionEvent.getCause());
                 // close channel in case an exception was thrown
                 NettyHelper.close(exceptionEvent.getChannel());
             }

http://git-wip-us.apache.org/repos/asf/camel/blob/216dfdf7/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/handlers/HttpServerChannelHandler.java
----------------------------------------------------------------------
diff --git 
a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/handlers/HttpServerChannelHandler.java
 
b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/handlers/HttpServerChannelHandler.java
index d6dbf4a..39b2dda 100644
--- 
a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/handlers/HttpServerChannelHandler.java
+++ 
b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/handlers/HttpServerChannelHandler.java
@@ -301,7 +301,7 @@ public class HttpServerChannelHandler extends 
ServerChannelHandler {
             if (cause instanceof ClosedChannelException) {
                 LOG.debug("Channel already closed. Ignoring this exception.");
             } else {
-                LOG.warn("Closing channel as an exception was thrown from 
Netty", cause);
+                LOG.debug("Closing channel as an exception was thrown from 
Netty", cause);
                 // close channel in case an exception was thrown
                 NettyHelper.close(ctx.channel());
             }

Reply via email to