Skip to content

Commit 30cc7d4

Browse files
Added the versionadded directive
1 parent c8c19f2 commit 30cc7d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

logging/monolog_exclude_http_codes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
How to Configure Monolog to Exclude Specific HTTP Codes from the Log
77
====================================================================
88

9+
..versionadded:: 4.1
10+
The ability to exclude log messages based on their status codes was
11+
introduced in Symfony 4.1 and MonologBundle 3.3.
12+
913
Sometimes your logs become flooded with unwanted HTTP errors, for example,
1014
403s and 404s. When using a ``fingers_crossed`` handler, you can exclude
1115
logging these HTTP codes based on the MonologBundle configuration:

0 commit comments

Comments
 (0)