8000 Fixed more occurrences of the wrong handler name · symfony/symfony-docs@ad83012 · GitHub
[go: up one dir, main page]

Skip to content

Commit ad83012

Browse files
committed
Fixed more occurrences of the wrong handler name
1 parent 63ab8ce commit ad83012

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

logging/monolog_email.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ it is broken down.
6060
<monolog:excluded-404>^/</monolog:excluded-404>
6161
-->
6262
<monolog:handler
63-
name="mail"
63+
name="main"
6464
type="fingers_crossed"
6565
action-level="critical"
6666
handler="deduplicated"
@@ -96,7 +96,7 @@ it is broken down.
9696
// app/config/config_prod.php
9797
$container->loadFromExtension('monolog', array(
9898
'handlers' => array(
99-
'mail' => array(
99+
'main' => array(
100100
'type' => 'fingers_crossed',
101101
// 500 errors are logged at the critical level
102102
'action_level' => 'critical',
@@ -125,7 +125,7 @@ it is broken down.
125125
),
126126
));
127127
128-
The ``mail`` handler is a ``fingers_crossed`` handler which means that
128+
The ``main`` handler is a ``fingers_crossed`` handler which means that
129129
it is only triggered when the action level, in this case ``critical`` is reached.
130130
The ``critical`` level is only triggered for 5xx HTTP code errors. If this level
131131
is reached once, the ``fingers_crossed`` handler will log all messages

0 commit comments

Comments
 (0)
0