aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-04-17 14:26:43 +0200
committerRobin Appelman <robin@icewind.nl>2024-04-17 16:36:24 +0200
commit8c10c7809950ac1208f65d9949265b3247d08321 (patch)
tree8f74dabbbe11c7d3d23540a76a2345085b4ecee8 /config
parenta86c1131d7092b4abb1abac8a55f2e71f7a2bbaa (diff)
downloadnextcloud-server-8c10c7809950ac1208f65d9949265b3247d08321.tar.gz
nextcloud-server-8c10c7809950ac1208f65d9949265b3247d08321.zip
feat: add request id as comment to all queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 280334477a6..f45e7dcc5e0 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -160,6 +160,13 @@ $CONFIG = [
],
/**
+ * Add request id to the database query in a comment.
+ *
+ * This can be enabled to assist in mapping database logs to Nextcloud logs.
+ */
+'db.log_request_id' => false,
+
+/**
* Indicates whether the Nextcloud instance was installed successfully; ``true``
* indicates a successful installation, and ``false`` indicates an unsuccessful
* installation.
@@ -1965,7 +1972,7 @@ $CONFIG = [
/**
* Blacklist characters from being used in filenames. This is useful if you
* have a filesystem or OS which does not support certain characters like windows.
- *
+ *
* The '/' and '\' characters are always forbidden.
*
* Example for windows systems: ``array('?', '<', '>', ':', '*', '|', '"', chr(0), "\n", "\r")``
@@ -2311,7 +2318,7 @@ $CONFIG = [
/**
* Timeout for the login form, after this time the login form is reset.
* This prevents password leaks on public devices if the user forgots to clear the form.
- *
+ *
* Default is 5 minutes (300 seconds), a value of 0 means no timeout.
*/
'login_form_timeout' => 300,