From 7d984d39190396df61db88232ccda52d0c5cef91 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 17 Jul 2013 11:03:39 +0100 Subject: [PATCH] Update monolog_email.rst Added caution note regarding monolog spooling based on the docs example. https://github.com/symfony/symfony-standard/issues/425 --- cookbook/logging/monolog_email.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cookbook/logging/monolog_email.rst b/cookbook/logging/monolog_email.rst index b429bc8c588..56c5a3f0ba0 100644 --- a/cookbook/logging/monolog_email.rst +++ b/cookbook/logging/monolog_email.rst @@ -107,6 +107,13 @@ 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 to use memory, however + this does not work in the case of buffered logs at present. In order + to enable email of logs as per the example below you are required to + comment out spool: { type: memory } in the config.yml file. + .. configuration-block:: .. code-block:: yaml