diff --git a/cookbook/logging/monolog_email.rst b/cookbook/logging/monolog_email.rst index b429bc8c588..e6adcc1553b 100644 --- a/cookbook/logging/monolog_email.rst +++ b/cookbook/logging/monolog_email.rst @@ -107,6 +107,14 @@ to and from addresses and the subject. You can combine these handlers with other handlers so that the errors still get logged on the server as well as the emails being sent: +.. caution:: + + The default spool setting for swiftmailer is set to ``memory``, which + means that emails are sent at the very end of the request. However, this + does not work with buffered logs at the moment. In order to enable emailing + logs per the example below, you must comment out the ``spool: { type: memory }`` + line in the ``config.yml`` file. + .. configuration-block:: .. code-block:: yaml