From 2911c532ac22d34db5d17bb58da8809c90c53f71 Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Fri, 22 Jul 2022 15:40:00 +0800 Subject: [PATCH] Configure monolog for symfony_mailer rather than swift_mailer --- config/packages/prod/monolog.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/packages/prod/monolog.yaml b/config/packages/prod/monolog.yaml index 58b92914..aa5ae35e 100644 --- a/config/packages/prod/monolog.yaml +++ b/config/packages/prod/monolog.yaml @@ -17,9 +17,9 @@ monolog: path: '%kernel.logs_dir%/foo_%kernel.environment%.log' mailer: type: deduplication - handler: swift - swift: - type: swift_mailer + handler: symfony_mailer + symfony_mailer: + type: symfony_mailer level: critical from_email: '%env(MAILER_FROM_EMAIL)%' to_email: '%env(MAILER_TO_EMAIL)%'