mirror of
https://github.com/nextcloud/documentation.git
synced 2026-03-27 13:38:39 +07:00
generate documentation from config.sample.php
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user