Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix SwiftMailerHandler to support Monolog's latest reset functionality#29837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.4fromSeldaek:patch-9
Jan 13, 2019

Conversation

@Seldaek
Copy link
Member

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
LicenseMIT

Monolog 1.24 added the ResettableInterface which is meant to support resetting handlers. Reset should also flush as if the request was ending, and it can be used for long running workers for example in between each job that is processed. Due to SwiftMailer's spool however the emails in case of errors are right now only sent at the very end of the worker's lifetime.

For older Monolog versions, this will be ignored, and is thus harmless.

@fabpot
Copy link
Member

Thank you@Seldaek.

@fabpotfabpot merged commitada2d83 intosymfony:3.4Jan 13, 2019
fabpot added a commit that referenced this pull requestJan 13, 2019
…unctionality (Seldaek)This PR was merged into the 3.4 branch.Discussion----------Fix SwiftMailerHandler to support Monolog's latest reset functionality| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| License       | MITMonolog 1.24 added the ResettableInterface which is meant to support resetting handlers. Reset should also flush as if the request was ending, and it can be used for long running workers for example in between each job that is processed. Due to SwiftMailer's spool however the emails in case of errors are right now only sent at the very end of the worker's lifetime.For older Monolog versions, this will be ignored, and is thus harmless.Commits-------ada2d83 Fix SwiftMailerHandler to support Monolog's latest reset functionality
This was referencedJan 29, 2019
@SeldaekSeldaek deleted the patch-9 branchFebruary 12, 2019 14:21
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@Seldaek@fabpot@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp