You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/11/18 09:36:54 UTC

[2/3] camel git commit: CAMEL-9335: camel-netty-http - Suppress Connection reset by peer WARNs

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/0450bba6
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0450bba6
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0450bba6

Branch: refs/heads/camel-2.16.x
Commit: 0450bba6dde358769ea485991fbad53fafe941c1
Parents: 106e75f
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Nov 18 09:40:01 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Nov 18 09:40:23 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/0450bba6/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/0450bba6/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());
             }