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

[Messenger] Add worker metadata inside logs#43355

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:5.4from94noni:ft-messenger-worker-log
Oct 7, 2021

Conversation

@94noni
Copy link
Contributor

QA
Branch?5.4
Bug fix?no
New feature?.
Deprecations?no
TicketsImprove#42723
LicenseMIT
Doc PR.

Small PR related to one of my comment#42723 (comment) on the ticket PR: having this contextual info is valuable imho
cc@ruudk@okwinza@fabpot

Copy link
Contributor

@ruudkruudk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Nice!

Copy link
Contributor

@okwinzaokwinza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

👍

pcntl_signal(\SIGTERM,function ()use ($event) {
if (null !==$this->logger) {
$this->logger->info('Received SIGTERM signal.');
$this->logger->info('Received SIGTERM signal.', ['transportNames' =>$event->getWorker()->getMetadata()->getTransportNames()]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think we are using underscore names in such a situation, sotransport_names.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@fabpot in fact, I've found both casescamelCase|snake_case in the codebase
I'll rework this but maybe it is needed a consensus here :)

@94noni94noniforce-pushed theft-messenger-worker-log branch from6d6eca4 to649cb10CompareOctober 7, 2021 14:39
@fabpot
Copy link
Member

Thank you@94noni.

@fabpotfabpot merged commit626d9aa intosymfony:5.4Oct 7, 2021
@94noni94noni deleted the ft-messenger-worker-log branchOctober 7, 2021 16:55
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@lyrixxlyrixxlyrixx approved these changes

@chalasrchalasrchalasr approved these changes

@srozesrozeAwaiting requested review from sroze

+2 more reviewers

@ruudkruudkruudk approved these changes

@okwinzaokwinzaokwinza approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

8 participants

@94noni@fabpot@ruudk@okwinza@lyrixx@chalasr@carsonbot@noniagriconomie

[8]ページ先頭

©2009-2025 Movatter.jp