Skip to content

Commit afb5817

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Updating `excluded_404s` to `excluded_http_codes`
2 parents 7aaf655 + ac31010 commit afb5817

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

logging/monolog_email.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ it is broken down.
2828
action_level: critical
2929
# to also log 400 level errors (but not 404's):
3030
# action_level: error
31-
# excluded_404s:
32-
# - ^/
31+
# excluded_http_codes: [404]
3332
handler: deduplicated
3433
deduplicated:
3534
type: deduplication
@@ -62,7 +61,7 @@ it is broken down.
6261
to also log 400 level errors (but not 404's):
6362
action-level="error"
6463
And add this child inside this monolog:handler
65-
<monolog:excluded-404>^/</monolog:excluded-404>
64+
<monolog:excluded-http-code code="404"/>
6665
-->
6766
<monolog:handler
6867
name="main"
@@ -107,9 +106,7 @@ it is broken down.
107106
'action_level' => 'critical',
108107
// to also log 400 level errors (but not 404's):
109108
// 'action_level' => 'error',
110-
// 'excluded_404s' => [
111-
// '^/',
112-
// ],
109+
// 'excluded_http_codes' => [404],
113110
'handler' => 'deduplicated',
114111
],
115112
'deduplicated' => [

0 commit comments

Comments
 (0)