From 4d54de153862bfe21997afe83195b879de01e749 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 11 Sep 2023 09:21:50 -0400 Subject: =?UTF-8?q?add=20`cache-write-log`=20and=20`cache-access-log=C2=B4?= =?UTF-8?q?=20configuration=20options=20(#394)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add `cache-write-log` and `cache-access-log“ configuration options --- src/zenserver/cache/httpstructuredcache.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/zenserver/cache/httpstructuredcache.cpp') diff --git a/src/zenserver/cache/httpstructuredcache.cpp b/src/zenserver/cache/httpstructuredcache.cpp index 9b7ec61d7..9bc8d865a 100644 --- a/src/zenserver/cache/httpstructuredcache.cpp +++ b/src/zenserver/cache/httpstructuredcache.cpp @@ -705,6 +705,8 @@ HttpStructuredCacheService::HandleCacheRequest(HttpServerRequest& Request) BasePathString << Info.Config.BasePath.u8string(); ResponseWriter.AddString("BasePath"sv, BasePathString.ToView()); ResponseWriter.AddBool("AllowAutomaticCreationOfNamespaces", Info.Config.AllowAutomaticCreationOfNamespaces); + ResponseWriter.AddBool("EnableWriteLog", Info.Config.EnableWriteLog); + ResponseWriter.AddBool("EnableAccessLog", Info.Config.EnableAccessLog); } ResponseWriter.EndObject(); -- cgit v1.2.3