Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-12-01 18:30:45 +0300
committerJoas Schilling <coding@schilljs.com>2021-12-02 00:33:41 +0300
commit168c673755eca62008d9bfa81d0185beba1ff24b (patch)
tree11a6a7c57788af6bb5dbdef9216e305e37c2f99d /config
parent44ecd0d1d5f77e6798c1dd08da8120ba86585758 (diff)
Allow to log DB, redis and LDAP requests into files
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index fd25815dece..4a28748b69c 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1982,4 +1982,31 @@ $CONFIG = [
* Defaults to ``true``
*/
'files_no_background_scan' => false,
+
+/**
+ * Log all queries into a file
+ *
+ * Warning: This heavily decreases the performance of the server and is only
+ * meant to debug/profile the query interaction manually.
+ * Also, it might log sensitive data into a plain text file.
+ */
+'query_log_file' => '',
+
+/**
+ * Log all redis requests into a file
+ *
+ * Warning: This heavily decreases the performance of the server and is only
+ * meant to debug/profile the redis interaction manually.
+ * Also, it might log sensitive data into a plain text file.
+ */
+'redis_log_file' => '',
+
+/**
+ * Log all LDAP requests into a file
+ *
+ * Warning: This heavily decreases the performance of the server and is only
+ * meant to debug/profile the LDAP interaction manually.
+ * Also, it might log sensitive data into a plain text file.
+ */
+'ldap_log_file' => '',
];