Skip to content

Commit 69f4c95

Browse files
dotlabel-chrisweaverryan
authored andcommitted
Update monolog_email.rst
Added caution note regarding monolog spooling based on the docs example. https://github.com/symfony/symfony-standard/issues/425
1 parent 02ff9f0 commit 69f4c95

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cookbook/logging/monolog_email.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ 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 to use memory, however
113+
this does not work in the case of buffered logs at present. In order
114+
to enable email of logs as per the example below you are required to
115+
comment out spool: { type: memory } in the config.yml file.
116+
110117
.. configuration-block::
111118

112119
.. code-block:: yaml

0 commit comments

Comments
 (0)