File tree 1 file changed +6
-5
lines changed
Filter options
1 file changed +6
-5
lines changed
Original file line number Diff line number Diff line change @@ -21,9 +21,7 @@ logging these HTTP codes based on the MonologBundle configuration:
21
21
# ...
22
22
type : fingers_crossed
23
23
handler : ...
24
- excluded_http_codes :
25
- - 403
26
- - 404
24
+ excluded_http_codes : [403, 404, { 400: ['^/foo', '^/bar'] }]
27
25
28
26
.. code-block :: xml
29
27
@@ -39,8 +37,11 @@ logging these HTTP codes based on the MonologBundle configuration:
39
37
<monolog : config >
40
38
<monolog : handler type =" fingers_crossed" name =" main" handler =" ..." >
41
39
<!-- ... -->
42
- <monolog : excluded-http-code >403</monolog : excluded-http-code >
43
- <monolog : excluded-http-code >404</monolog : excluded-http-code >
40
+ <monolog : excluded-http-code code =" 403" >
41
+ <monolog : url >^/foo</monolog : url >
42
+ <monolog : url >^/bar</monolog : url >
43
+ </monolog : excluded-http-code >
44
+ <monolog : excluded-http-code code =" 404" />
44
45
</monolog : handler >
45
46
</monolog : config >
46
47
</container >
You can’t perform that action at this time.
0 commit comments