From 44bf8349c94b71ccdd07d4ee9855c8c08b47545c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Bokros?= Date: Wed, 20 Dec 2017 11:34:21 +0100 Subject: [PATCH] Print debug message when a client is connected --- src/app/handlers/zmq_websocket_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/handlers/zmq_websocket_handler.py b/src/app/handlers/zmq_websocket_handler.py index 2426962..d568388 100644 --- a/src/app/handlers/zmq_websocket_handler.py +++ b/src/app/handlers/zmq_websocket_handler.py @@ -13,6 +13,8 @@ class ZMQWebSocketHandler(WebSocketHandler): super().__init__(application, request, **kwargs) def open(self, *args, **kwargs): + logging.debug('WebSocket connection initiated') + def zmq_callback(msg_parts): anchor, data = msg_parts logging.debug('Received on pull socket: {}'.format(data.decode()))