aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpmulti.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-12-05 08:51:53 +0100
committerGitHub <[email protected]>2023-12-05 08:51:53 +0100
commit0b9d89f5beb889c1785a8f22b586c59bcca0b3ea (patch)
treeb0359fb51b002b28d9b480813d308cc93c1e220f /src/zenhttp/servers/httpmulti.cpp
parent0.2.36-pre3 (diff)
downloadzen-0b9d89f5beb889c1785a8f22b586c59bcca0b3ea.tar.xz
zen-0b9d89f5beb889c1785a8f22b586c59bcca0b3ea.zip
HTTP plugin request debug logging (#587)
* added log level control/query to LoggerRef * added debug logging to http plugin implementation * added GetDebugName() to transport plugin interfaces * added debug name to log output
Diffstat (limited to 'src/zenhttp/servers/httpmulti.cpp')
-rw-r--r--src/zenhttp/servers/httpmulti.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zenhttp/servers/httpmulti.cpp b/src/zenhttp/servers/httpmulti.cpp
index d8ebdc9c0..2a6a90d2e 100644
--- a/src/zenhttp/servers/httpmulti.cpp
+++ b/src/zenhttp/servers/httpmulti.cpp
@@ -28,15 +28,16 @@ HttpMultiServer::RegisterService(HttpService& Service)
}
int
-HttpMultiServer::Initialize(int BasePort)
+HttpMultiServer::Initialize(int BasePort, std::filesystem::path DataDir)
{
+ ZEN_UNUSED(DataDir);
ZEN_ASSERT(!m_IsInitialized);
int EffectivePort = 0;
for (auto& Server : m_Servers)
{
- const int InitializeResult = Server->Initialize(BasePort);
+ const int InitializeResult = Server->Initialize(BasePort, DataDir);
if (!EffectivePort)
{