diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-02-02 09:57:50 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-02-28 11:24:40 +0100 |
commit | 0f33453610c46ef730192820017f8c1270b3096f (patch) | |
tree | cbdab0cd21d4c1f812196586be5d9599dcf387ae /config | |
parent | 19f68b3011a3c040899fb84975a28bd746bddb4b (diff) | |
download | nextcloud-server-0f33453610c46ef730192820017f8c1270b3096f.tar.gz nextcloud-server-0f33453610c46ef730192820017f8c1270b3096f.zip |
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')
-rw-r--r-- | config/config.sample.php | 14 |
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, ]; |