From 2982000fad9ab64134794e03b70f8efa8ad90b28 Mon Sep 17 00:00:00 2001 From: Henry Snoek Date: Fri, 19 Jun 2015 11:18:35 +0200 Subject: [PATCH 1/2] 5370 rewrite sentence about fingers crossed handler action level --- cookbook/logging/monolog_email.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cookbook/logging/monolog_email.rst b/cookbook/logging/monolog_email.rst index 62df96cf7cf..087c4fa14bf 100644 --- a/cookbook/logging/monolog_email.rst +++ b/cookbook/logging/monolog_email.rst @@ -117,9 +117,10 @@ it is broken down. The ``mail`` handler is a ``fingers_crossed`` handler which means that it is only triggered when the action level, in this case ``critical`` is reached. -It then logs everything including messages below the action level. The -``critical`` level is only triggered for 5xx HTTP code errors. The ``handler`` -setting means that the output is then passed onto the ``buffered`` handler. +The ``critical`` level is only triggered for 5xx HTTP code errors. If this level +is reached once, the ``fingers_crossed`` handler will log everything, including +messages below the ``critical`` level. The ``handler`` setting means that the output +is then passed onto the ``buffered`` handler. .. tip:: From ebebe1d3347bd45ec02a10113ac99ad53db79bd3 Mon Sep 17 00:00:00 2001 From: Henry Snoek Date: Mon, 22 Jun 2015 16:59:39 +0200 Subject: [PATCH 2/2] 5370 simplify original sentence --- cookbook/logging/monolog_email.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/logging/monolog_email.rst b/cookbook/logging/monolog_email.rst index 087c4fa14bf..5d8b44bf0e2 100644 --- a/cookbook/logging/monolog_email.rst +++ b/cookbook/logging/monolog_email.rst @@ -118,8 +118,8 @@ it is broken down. The ``mail`` handler is a ``fingers_crossed`` handler which means that it is only triggered when the action level, in this case ``critical`` is reached. The ``critical`` level is only triggered for 5xx HTTP code errors. If this level -is reached once, the ``fingers_crossed`` handler will log everything, including -messages below the ``critical`` level. The ``handler`` setting means that the output +is reached once, the ``fingers_crossed`` handler will log all messages +regardless of their level. The ``handler`` setting means that the output is then passed onto the ``buffered`` handler. .. tip::