From d648be1246d3d6b461d9a225450b4077375490bc Mon Sep 17 00:00:00 2001 From: Remon van de Kamp Date: Fri, 5 Jul 2019 09:29:54 +0200 Subject: [PATCH 1/2] Add caution about combining excluded_404s with passthru_level --- logging/monolog_regex_based_excludes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/logging/monolog_regex_based_excludes.rst b/logging/monolog_regex_based_excludes.rst index d382dbc74dc..bc383dbff30 100644 --- a/logging/monolog_regex_based_excludes.rst +++ b/logging/monolog_regex_based_excludes.rst @@ -60,3 +60,12 @@ configuration: ], ], ]); + + +.. caution:: + Combining ``excluded_404s`` with a ``passthru_level`` lower than + ``error`` (i.e. ``debug``, ``info``, ``notice`` or ``warning``) will not + actually exclude log messages for the URL(s) listed in ``excluded_404s`` + because they are logged with level of ``error`` or higher and + ``passthru_level`` takes precedence over the URLs being listed in + ``excluded_404s``. From 994727149fcb6216fabff5e9c1421ab3a51dea3b Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Sun, 28 Jul 2019 12:25:27 +0200 Subject: [PATCH 2/2] add missing blank line --- logging/monolog_regex_based_excludes.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/logging/monolog_regex_based_excludes.rst b/logging/monolog_regex_based_excludes.rst index bc383dbff30..19f0e51421d 100644 --- a/logging/monolog_regex_based_excludes.rst +++ b/logging/monolog_regex_based_excludes.rst @@ -63,6 +63,7 @@ configuration: .. caution:: + Combining ``excluded_404s`` with a ``passthru_level`` lower than ``error`` (i.e. ``debug``, ``info``, ``notice`` or ``warning``) will not actually exclude log messages for the URL(s) listed in ``excluded_404s``