Adding logging to enable email alerts to be sent if Monolog is configured so.