Skip to content

Commit 61b3ff2

Browse files
committed
Merge branch '2.2' into 2.3
2 parents b4bcd86 + b51c7a0 commit 61b3ff2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cookbook/logging/monolog_email.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ to and from addresses and the subject.
107107
You can combine these handlers with other handlers so that the errors still
108108
get logged on the server as well as the emails being sent:
109109

110+
.. caution::
111+
112+
The default spool setting for swiftmailer is set to ``memory``, which
113+
means that emails are sent at the very end of the request. However, this
114+
does not work with buffered logs at the moment. In order to enable emailing
115+
logs per the example below, you are must comment out the ``spool: { type: memory }``
116+
line in the ``config.yml`` file.
117+
110118
.. configuration-block::
111119

112120
.. code-block:: yaml

0 commit comments

Comments
 (0)