activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject git commit: AMQ-4799: ws/wss connectors should also log uri when starting like the others do.
Date Fri, 11 Oct 2013 14:34:31 GMT
Updated Branches:
  refs/heads/trunk 5b5133c28 -> bc2bc86a1


AMQ-4799: ws/wss connectors should also log uri when starting like the others do.


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

Branch: refs/heads/trunk
Commit: bc2bc86a1dd27980be4b7d803f21d4aaa9851d98
Parents: 5b5133c
Author: Claus Ibsen <claus.ibsen@gmail.com>
Authored: Fri Oct 11 16:34:29 2013 +0200
Committer: Claus Ibsen <claus.ibsen@gmail.com>
Committed: Fri Oct 11 16:34:29 2013 +0200

----------------------------------------------------------------------
 .../org/apache/activemq/transport/ws/WSTransportServer.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/bc2bc86a/activemq-http/src/main/java/org/apache/activemq/transport/ws/WSTransportServer.java
----------------------------------------------------------------------
diff --git a/activemq-http/src/main/java/org/apache/activemq/transport/ws/WSTransportServer.java
b/activemq-http/src/main/java/org/apache/activemq/transport/ws/WSTransportServer.java
index 0d05526..496ed62 100644
--- a/activemq-http/src/main/java/org/apache/activemq/transport/ws/WSTransportServer.java
+++ b/activemq-http/src/main/java/org/apache/activemq/transport/ws/WSTransportServer.java
@@ -30,6 +30,8 @@ import org.eclipse.jetty.server.Connector;
 import org.eclipse.jetty.server.Server;
 import org.eclipse.jetty.servlet.ServletContextHandler;
 import org.eclipse.jetty.servlet.ServletHolder;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Creates a web server and registers web socket server
@@ -37,6 +39,8 @@ import org.eclipse.jetty.servlet.ServletHolder;
  */
 public class WSTransportServer extends WebTransportServerSupport {
 
+    private static final Logger LOG = LoggerFactory.getLogger(WSTransportServer.class);
+
     public WSTransportServer(URI location) {
         super(location);
         this.bindAddress = location;
@@ -87,6 +91,8 @@ public class WSTransportServer extends WebTransportServerSupport {
                               boundTo.getPath(),
                               boundTo.getQuery(),
                               boundTo.getFragment()));
+
+        LOG.info("Listening for connections at {}", getConnectURI());
     }
 
     @Override


Mime
View raw message