title | issue |
---|---|
Hide recovery url in log |
NEXT-24679 |
- Added a new variable
%shopware.logger.exclude_events%
inshopware.yaml
- Added new log handler class
\\Shopware\Core\Framework\Log\Monolog\ExcludeFlowEventHandler
to exclude recovery password events and theirs according mail events from being logged if it's included in%shopware.logger.exclude_events%
list - Changed method
\Shopware\Core\Content\Flow\Dispatching\Action\handleFlow
to add flow'seventName
into thetemplateData
variable - Changed class
\Shopware\Core\Content\MailTemplate\Service\Event\MailErrorEvent
to add the private propertyeventName
in the constructor parameter - Changed class
\Shopware\Core\Content\MailTemplate\Service\Event\MailBeforeSentEvent
to add the private propertyeventName
in the constructor parameter - Changed class
\Shopware\Core\Content\MailTemplate\Service\Event\MailSentEvent
to add the private propertyeventName
in the constructor parameter - Changed method
\Shopware\Core\Content\MailTemplate\Service\Event\MailBeforeValidateEvent::getLogData
to add theeventName
in log data - Changed method
\Shopware\Core\Content\MailTemplate\Service\Event\MailErrorEvent::getLogData
to add theeventName
in log data - Changed method
\Shopware\Core\Content\MailTemplate\Service\Event\MailBeforeSentEvent::getLogData
to add theeventName
in log data - Changed method
\Shopware\Core\Content\MailTemplate\Service\Event\MailSentEvent::getLogData
to add theeventName
in log data - Added a new migration in
\Shopware\Core\Migration\V6_4\Migration1672164687FixTypoInUserRecoveryPasswordResetMail
to fix a typo in user recovery request mail template - Changed
Shopware\Core\Content\Mail\Service\MailService
to injectlogger
into the service to log errors when they're thrown