Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-03-27 22:32:50 +0000
committerJoakim Erdfelt2015-03-27 22:32:50 +0000
commitf06e846812defcb4446f67d1a29b961d7db5a348 (patch)
treecf7e2d5880bb52e57e86383ecf175554f94ad923 /jetty-websocket
parent07d29fb1b39740b298ba2497ec1b06e86c1e7efc (diff)
downloadorg.eclipse.jetty.project-f06e846812defcb4446f67d1a29b961d7db5a348.tar.gz
org.eclipse.jetty.project-f06e846812defcb4446f67d1a29b961d7db5a348.tar.xz
org.eclipse.jetty.project-f06e846812defcb4446f67d1a29b961d7db5a348.zip
Adding some websocket client upgrade logging
Diffstat (limited to 'jetty-websocket')
-rw-r--r--jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/UpgradeConnection.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/UpgradeConnection.java b/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/UpgradeConnection.java
index 60c8c2ec90..d4c4a7572f 100644
--- a/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/UpgradeConnection.java
+++ b/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/io/UpgradeConnection.java
@@ -78,6 +78,7 @@ public class UpgradeConnection extends AbstractConnection
@Override
public void succeeded()
{
+ LOG.debug("Upgrade Request Write Success");
// Writing the request header is complete.
super.succeeded();
// start the interest in fill
@@ -87,6 +88,7 @@ public class UpgradeConnection extends AbstractConnection
@Override
public void failed(Throwable cause)
{
+ LOG.warn("Upgrade Request Write Failure", cause);
super.failed(cause);
// Fail the connect promise when a fundamental exception during connect occurs.
connectPromise.failed(cause);

Back to the top