Skip to content

Revert "Removed warning about using swiftmailer handler with memory spool" #3084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 3, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cookbook/logging/monolog_email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 are must comment out the ``spool: { type: memory }``
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-> you must comment out

line in the ``config.yml`` file.

.. configuration-block::

.. code-block:: yaml
Expand Down