From 9460c140e35d930cc0702d0d0ae3d7ffeda2ffb6 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 20 May 2015 10:01:59 +0200 Subject: [PATCH] generate documentation from config.sample.php --- .../config_sample_php_parameters.rst | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index 1ba6bf243..4084a7405 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -573,6 +573,28 @@ Change the ownCloud logfile name from ``owncloud.log`` to something else. Loglevel to start logging at. Valid values are: 0 = Debug, 1 = Info, 2 = Warning, 3 = Error. The default value is Warning. +:: + + 'log.condition' => [ + 'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9', + 'users' => ['sample-user'], + 'apps' => ['files'], + ], + +Log condition for log level increase based on conditions. Once one of these +conditions is met, the required log level is set to debug. This allows to +debug specific requests, users or apps + +Supported conditions: + - ``shared_secret``: if a request parameter with the name `log_secret` is set to + this value the condition is met + - ``users``: if the current request is done by one of the specified users, + this condition is met + - ``apps``: if the log message is invoked by one of the specified apps, + this condition is met + +Defaults to an empty array. + :: 'logdateformat' => 'F d, Y H:i:s',