Skip to content

Commit 664f5ad

Browse files
committed
minor #5414 Rewrite sentence about fingers crossed handler action level (snoek09)
This PR was merged into the 2.3 branch. Discussion ---------- Rewrite sentence about fingers crossed handler action level | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | #5370 Commits ------- ebebe1d 5370 simplify original sentence 2982000 5370 rewrite sentence about fingers crossed handler action level
2 parents 89479f6 + ebebe1d commit 664f5ad

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cookbook/logging/monolog_email.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@ it is broken down.
117117
118118
The ``mail`` handler is a ``fingers_crossed`` handler which means that
119119
it is only triggered when the action level, in this case ``critical`` is reached.
120-
It then logs everything including messages below the action level. The
121-
``critical`` level is only triggered for 5xx HTTP code errors. The ``handler``
122-
setting means that the output is then passed onto the ``buffered`` handler.
120+
The ``critical`` level is only triggered for 5xx HTTP code errors. If this level
121+
is reached once, the ``fingers_crossed`` handler will log all messages
122+
regardless of their level. The ``handler`` setting means that the output
123+
is then passed onto the ``buffered`` handler.
123124

124125
.. tip::
125126

0 commit comments

Comments
 (0)