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:55 UTC

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

Branch: refs/heads/camel-2.15.x
Commit: aea83e61a3edddb3b4e72ede1873816491c74f92
Parents: e341c53
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:34 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/aea83e61/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/aea83e61/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 4cb610f..b5432f1 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
@@ -300,7 +300,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());
             }