I have an App in Symfony 5 and a bug reporting system with Monolog.
The problem occurs that when they send me an email with an error, I also get another email with the following
DEBUG
Message:
Email transport "Symfony\Component\Mailer\Transport\Smtp\SmtpTransport" stopping
Time:
2021-08-08T22:05:41.426193+00:00
Channel:
mailer
DEBUG
Message:
Email transport "Symfony\Component\Mailer\Transport\Smtp\SmtpTransport" stopped
Time:
2021-08-08T22:05:41.473234+00:00
Channel:
mailer
prod/monolog.yml
monolog:
handlers:
main:
type: fingers_crossed
action_level: critical
handler: grouped
grouped:
type: group
members: [streamed, deduplicated]
streamed:
type: stream
path: '%kernel.logs_dir%/%kernel.environment%.log'
level: debug
deduplicated:
type: deduplication
handler: symfony_mailer
symfony_mailer:
type: symfony_mailer
from_email: 'infoexample@gmail.com'
to_email: 'example@gmail.com'
subject: 'An Error Occurred! %%message%%'
level: debug
formatter: monolog.formatter.html
content_type: text/html
Any idea?