Skip to content

Commit

Permalink
Merge pull request #608 from wikimedia/config-mailer
Browse files Browse the repository at this point in the history
Configure monolog for symfony_mailer rather than swift_mailer
  • Loading branch information
samwilson authored Jul 22, 2022
2 parents 7e90d45 + 2911c53 commit 4116d48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/packages/prod/monolog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)%'
Expand Down

0 comments on commit 4116d48

Please sign in to comment.