From 6cf3a814fe19a92b294ea46ab2c95591bdd3a585 Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Wed, 31 Jul 2024 02:52:48 +0000 Subject: [PATCH] generate documentation from config.sample.php --- .../config_sample_php_parameters.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index 424a3860f..0173d77c9 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -1582,6 +1582,15 @@ log.condition 'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9', 'users' => ['sample-user'], 'apps' => ['files'], + 'matches' => [ + [ + 'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9', + 'users' => ['sample-user'], + 'apps' => ['files'], + 'loglevel' => 1, + 'message' => 'contains substring' + ], + ], ], Log condition for log level increase based on conditions. Once one of these @@ -1595,6 +1604,9 @@ Supported conditions: this condition is met - ``apps``: if the log message is invoked by one of the specified apps, this condition is met + - ``matches``: if all the conditions inside a group match, + this condition is met. This allows to log only entries to an app + by a few users. Defaults to an empty array.