From 8c10c7809950ac1208f65d9949265b3247d08321 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 17 Apr 2024 14:26:43 +0200 Subject: feat: add request id as comment to all queries Signed-off-by: Robin Appelman --- config/config.sample.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'config') 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 @@ -159,6 +159,13 @@ $CONFIG = [ ['user' => 'nextcloud', 'password' => 'password2', 'host' => 'replica2', 'dbname' => ''], ], +/** + * 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 @@ -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, -- cgit v1.2.3