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
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-02-02 11:57:50 +0300
committerJulius Härtl <jus@bitgrid.net>2022-02-28 13:24:40 +0300
commit0f33453610c46ef730192820017f8c1270b3096f (patch)
treecbdab0cd21d4c1f812196586be5d9599dcf387ae /config/config.sample.php
parent19f68b3011a3c040899fb84975a28bd746bddb4b (diff)
Diagnostics event logging to Nextcloud log
Signed-off-by: Julius Härtl <jus@bitgrid.net> Add config samples Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index c433fb51d23..32a946ceb51 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -2079,4 +2079,18 @@ $CONFIG = [
* Also, it might log sensitive data into a plain text file.
*/
'ldap_log_file' => '',
+
+/**
+ * Enable diagnostics event logging
+ *
+ * If enabled the timings of common execution steps will be logged to the
+ * Nextcloud log at debug level. log.condition is useful to enable this on
+ * production systems to only log under some conditions
+ */
+'diagnostics.logging' => true,
+
+/**
+ * Limit diagnostics event logging to events longer than the configured threshold in ms
+ */
+'diagnostics.logging.threshold' => 0,
];