aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/cache/httpstructuredcache.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-09-11 09:21:50 -0400
committerGitHub <[email protected]>2023-09-11 15:21:50 +0200
commit4d54de153862bfe21997afe83195b879de01e749 (patch)
tree900104616727d41af93e4825b80f0ff2e953e71c /src/zenserver/cache/httpstructuredcache.cpp
parentbetter sorting of attachments in oplog blocks (#390) (diff)
downloadzen-4d54de153862bfe21997afe83195b879de01e749.tar.xz
zen-4d54de153862bfe21997afe83195b879de01e749.zip
add `cache-write-log` and `cache-access-log“ configuration options (#394)
* add `cache-write-log` and `cache-access-log“ configuration options
Diffstat (limited to 'src/zenserver/cache/httpstructuredcache.cpp')
-rw-r--r--src/zenserver/cache/httpstructuredcache.cpp2
1 files changed, 2 insertions, 0 deletions
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();