Skip to content

Commit 6cf3a81

Browse files
committed
generate documentation from config.sample.php
1 parent 4182b62 commit 6cf3a81

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

admin_manual/configuration_server/config_sample_php_parameters.rst

+12
Original file line numberDiff line numberDiff line change
@@ -1582,6 +1582,15 @@ log.condition
15821582
'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
15831583
'users' => ['sample-user'],
15841584
'apps' => ['files'],
1585+
'matches' => [
1586+
[
1587+
'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
1588+
'users' => ['sample-user'],
1589+
'apps' => ['files'],
1590+
'loglevel' => 1,
1591+
'message' => 'contains substring'
1592+
],
1593+
],
15851594
],
15861595

15871596
Log condition for log level increase based on conditions. Once one of these
@@ -1595,6 +1604,9 @@ Supported conditions:
15951604
this condition is met
15961605
- ``apps``: if the log message is invoked by one of the specified apps,
15971606
this condition is met
1607+
- ``matches``: if all the conditions inside a group match,
1608+
this condition is met. This allows to log only entries to an app
1609+
by a few users.
15981610

15991611
Defaults to an empty array.
16001612

0 commit comments

Comments
 (0)