From ce43161d4e745c2cbbd9c22d5f87ec8c9c8ca564 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 23 Nov 2020 20:05:04 +0100 Subject: [PATCH] WebSockets: log hostname and listen-port --- libs/surfaces/websockets/server.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/surfaces/websockets/server.cc b/libs/surfaces/websockets/server.cc index 1afd7fcbe6..89c9562517 100644 --- a/libs/surfaces/websockets/server.cc +++ b/libs/surfaces/websockets/server.cc @@ -150,6 +150,13 @@ WebsocketsServer::start () } #endif + PBD::info << "ArdourWebsockets: listening on: http://" + << lws_canonical_hostname (_lws_context) + << ":" + << std::dec << (int) WEBSOCKET_LISTEN_PORT + << "/" + << endmsg; + return 0; }