diff options
author | Joas Schilling <coding@schilljs.com> | 2021-12-01 16:30:45 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-12-01 22:33:41 +0100 |
commit | 168c673755eca62008d9bfa81d0185beba1ff24b (patch) | |
tree | 11a6a7c57788af6bb5dbdef9216e305e37c2f99d /config | |
parent | 44ecd0d1d5f77e6798c1dd08da8120ba86585758 (diff) | |
download | nextcloud-server-168c673755eca62008d9bfa81d0185beba1ff24b.tar.gz nextcloud-server-168c673755eca62008d9bfa81d0185beba1ff24b.zip |
Allow to log DB, redis and LDAP requests into files
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index fd25815dece..4a28748b69c 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1982,4 +1982,31 @@ $CONFIG = [ * Defaults to ``true`` */ 'files_no_background_scan' => false, + +/** + * Log all queries into a file + * + * Warning: This heavily decreases the performance of the server and is only + * meant to debug/profile the query interaction manually. + * Also, it might log sensitive data into a plain text file. + */ +'query_log_file' => '', + +/** + * Log all redis requests into a file + * + * Warning: This heavily decreases the performance of the server and is only + * meant to debug/profile the redis interaction manually. + * Also, it might log sensitive data into a plain text file. + */ +'redis_log_file' => '', + +/** + * Log all LDAP requests into a file + * + * Warning: This heavily decreases the performance of the server and is only + * meant to debug/profile the LDAP interaction manually. + * Also, it might log sensitive data into a plain text file. + */ +'ldap_log_file' => '', ]; |