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

[HttpKernel][EventDispatcher] Wrap some log contexts with ClassStub#19829

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

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedSep 2, 2016
edited
Loading

QA
Branch?master
New feature?yes
Tests pass?yes
LicenseMIT

This PR will be useful when#19614 will be merged to get more detailed log contexts in the "Logs" profiler panel.

This screenshot has been taken with both branches checked out at the same time:
capture du 2016-09-02 17-07-06

SinceClassStub implements__toString, contexts are logged as e.g.request.INFO: Matched route "{route}". {"route":"app_lucky_number","route_parameters":{"_controller": "[object] (Symfony\\Component\\VarDumper\\Caster\\ClassStub: AppBundle\\Controller\\LuckyController::numberAction)","_route": "app_lucky_number"},"request_uri":"http://127.0.0.1:8000/lucky/number","method":"GET"} [] by Monolog's NormalizerFormatter.

Seldaek/monolog#843 or some variant of it should fix this back to a plain string.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp