logging websocket connection