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][2.7] Add request uri to Logger context#13320

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:2.7fromrvanlaak:patch-1
Jan 16, 2015
Merged

[HttpKernel][2.7] Add request uri to Logger context#13320

fabpot merged 1 commit intosymfony:2.7fromrvanlaak:patch-1
Jan 16, 2015

Conversation

@rvanlaak
Copy link
Contributor

... so host info does not get lost in the logging. The current situation does not allow the user, that receives aMonolog email for instance, to determine at which host an error occurred.

QA
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR-

@rvanlaakrvanlaak changed the title[HttpKernel] Add request uri to Logger context[HttpKernel][2.7] Add request uri to Logger contextJan 8, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

please distinguish route params and request uri, i.e.array('route-params' => $parameters, 'request-uri' => $request->getUri())

Copy link
Member

Choose a reason for hiding this comment

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

#13418 tries to make context more consistent. So, can you renameroute-params toroute_parameters andrequest-uri torequest_uri? You can also inline the context instead of creating a temp var here. Thanks.

@fabpot
Copy link
Member

👍 after the minor renaming is done.

@rvanlaak
Copy link
ContributorAuthor

Fixed@fabpot will try to squash all commits in one

I've been looking for docs about logging and log parameter conventions, but couldn't find them.

Copy link
Member

Choose a reason for hiding this comment

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

I would preferroute_parameters as mentioned in my previous comment.

@stof
Copy link
Member

👍

... so host info does not get lost in the logging. The current situation does not allow the user to determine at which host an error occured.| Q             | A| ------------- | ---| Bug fix?      | [no]| New feature?  | [yes]| BC breaks?    | [no]| Deprecations? | [no]| Tests pass?   | [yes]| Fixed tickets || License       | MIT| Doc PR        |Fixed typoDistinguish route-params from request-uriUpdate context consistency... and inline the context variable.Rename `route_params` to `route_parameters`
@rvanlaak
Copy link
ContributorAuthor

Squashing all commits into one is done. Had to figure out PhpStorm 8.0.3 did not allow me to force a push,because the force option was missing.

@fabpot
Copy link
Member

Thank you@rvanlaak.

@fabpotfabpot merged commitc8f1f19 intosymfony:2.7Jan 16, 2015
fabpot added a commit that referenced this pull requestJan 16, 2015
…vanlaak)This PR was merged into the 2.7 branch.Discussion----------[HttpKernel][2.7] Add request uri to Logger context... so host info does not get lost in the logging. The current situation does not allow the user, that receives a `Monolog` email for instance, to determine at which host an error occurred.| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        | -Commits-------c8f1f19 [HttpKernel] Add request uri to Logger context
@rvanlaakrvanlaak deleted the patch-1 branchJanuary 17, 2015 08:12
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@rvanlaak@fabpot@stof@Tobion

[8]ページ先頭

©2009-2025 Movatter.jp