aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Müller <marcel-mueller@gmx.de>2025-04-19 21:25:22 +0200
committerMarcel Müller <marcel-mueller@gmx.de>2025-04-19 21:29:33 +0200
commit2ca168f717f75851f6c64446d060f37a18c03e6a (patch)
treeb6e9ca87ac237950c8bc3d0a81c45368c44c503c
parent0955b0a39dfbea341e4b7942c006f4397cc850e7 (diff)
downloadnextcloud-server-feat/noid/log-query-parameters.tar.gz
nextcloud-server-feat/noid/log-query-parameters.zip
chore: Update config.sample.php to include query log extensionsfeat/noid/log-query-parameters
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
-rw-r--r--config/config.sample.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 97388db99f2..0b1e896e366 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -2513,6 +2513,28 @@ $CONFIG = [
'query_log_file' => '',
/**
+ * Prefix all queries with the requestid when set to `yes`
+ *
+ * Requires `query_log_file` to be set.
+ */
+'query_log_file_requestid' => '',
+
+/**
+ * Add all query parameters to the query log entry when set to `yes`
+ *
+ * Requires `query_log_file` to be set.
+ * Warning: This will log sensitive data into a plain text file.
+ */
+'query_log_file_parameters' => '',
+
+/**
+ * Add a backtrace to the query log entry when set to `yes`
+ *
+ * Requires `query_log_file` to be set.
+ */
+'query_log_file_backtrace' => '',
+
+/**
* Log all redis requests into a file
*
* Warning: This heavily decreases the performance of the server and is only