Skip to content

Commit 8e7f0a1

Browse files
committed
[#7896] Removed trailing whitespace and fixed XML comment
1 parent 56cc61e commit 8e7f0a1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

logging/monolog_email.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ then passes them onto the nested handler in one go, but only if the records are
143143
unique over a given period of time (60 seconds by default). If the records are
144144
duplicates they are simply discarded. Adding this handler reduces the amount of
145145
notifications to a manageable level, specially in critical failure scenarios.
146-
You can adjust the time period:
146+
You can adjust the time period using the ``time`` option:
147147

148148
.. configuration-block::
149149

@@ -152,17 +152,18 @@ You can adjust the time period:
152152
# app/config/config_prod.yml
153153
monolog:
154154
handlers:
155-
# ...
155+
# ...
156156
deduplicated:
157157
type: deduplication
158158
# the time in seconds during which duplicate entries are discarded (default: 60)
159159
time: 10
160160
handler: swift
161-
161+
162162
.. code-block:: xml
163163
164164
<!-- app/config/config_prod.xml -->
165-
<!-- use the `time` attribute for values other than the default of 60 seconds: -->
165+
166+
<!-- time: the time in seconds during which duplicate entries are discarded (default: 60) -->
166167
<monolog:handler name="deduplicated"
167168
type="deduplication"
168169
time="10"

0 commit comments

Comments
 (0)