File tree 1 file changed +12
-0
lines changed
admin_manual/configuration_server
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1582,6 +1582,15 @@ log.condition
1582
1582
'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',
1583
1583
'users' => ['sample-user'],
1584
1584
'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
+ ],
1585
1594
],
1586
1595
1587
1596
Log condition for log level increase based on conditions. Once one of these
@@ -1595,6 +1604,9 @@ Supported conditions:
1595
1604
this condition is met
1596
1605
- ``apps ``: if the log message is invoked by one of the specified apps,
1597
1606
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.
1598
1610
1599
1611
Defaults to an empty array.
1600
1612
You can’t perform that action at this time.
0 commit comments