From 1d16313d40432c96992469a3e82929ff4a54a901 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Tue, 7 Jun 2022 18:04:27 +0200 Subject: asio: added some logging to indicate concurrency --- zenhttp/httpasio.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zenhttp/httpasio.cpp') diff --git a/zenhttp/httpasio.cpp b/zenhttp/httpasio.cpp index 45994bb67..81ceef888 100644 --- a/zenhttp/httpasio.cpp +++ b/zenhttp/httpasio.cpp @@ -1155,6 +1155,8 @@ HttpAsioServerImpl::Start(uint16_t Port, int ThreadCount) { ZEN_ASSERT(ThreadCount > 0); + ZEN_INFO("starting asio http with {} service threads", ThreadCount); + m_Acceptor.reset(new asio_http::HttpAcceptor(*this, m_IoService, Port)); m_Acceptor->Start(); @@ -1174,6 +1176,8 @@ HttpAsioServerImpl::Start(uint16_t Port, int ThreadCount) }); } + ZEN_INFO("asio http started (port {})", m_Acceptor->GetAcceptPort()); + return m_Acceptor->GetAcceptPort(); } -- cgit v1.2.3