Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HttpKernel] Add request method to logger messages #18676

Merged
merged 1 commit into from May 13, 2016

Conversation

gnat42
Copy link
Contributor

@gnat42 gnat42 commented Apr 29, 2016

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

While debugging some functional tests I was looking at the test.log. It would have been quite useful to know if the request was a POST or GET. This adds the request method to the log details.

@xabbuh
Copy link
Member

xabbuh commented May 2, 2016

You need to update some tests too.

Status: Needs work

While debugging some functional tests I was looking at the test.log. It would have been quite useful to know if the request was a POST or GET. This adds to the log details.
@gnat42
Copy link
Contributor Author

gnat42 commented May 2, 2016

Thanks, I wasn't sure if it would be accepted. Tests have been updated.

@fabpot
Copy link
Member

fabpot commented May 13, 2016

Thank you @gnat42.

@fabpot fabpot merged commit d751d59 into symfony:master May 13, 2016
fabpot added a commit that referenced this pull request May 13, 2016
…at42)

This PR was merged into the 3.1-dev branch.

Discussion
----------

[HttpKernel] Add request method to logger messages

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

While debugging some functional tests I was looking at the test.log. It would have been quite useful to know if the request was a POST or GET. This adds the request method to the log details.

Commits
-------

d751d59 Add request method to logger messages
@gnat42
Copy link
Contributor Author

gnat42 commented May 13, 2016

No problem. Any chance this would be applied to older branches like 2.7/2.8 or 2.3? or is it considered a BC?

@gnat42 gnat42 deleted the patch-4 branch May 13, 2016 15:15
@stof
Copy link
Member

stof commented May 13, 2016

this is not a bug fix, so it won't go into maintenance branches (it is not a BC break, which is why it can go into 3.1 rather than waiting for 4.0)

@gnat42
Copy link
Contributor Author

gnat42 commented May 13, 2016

Ah I see. Thanks for the clarification.

@fabpot fabpot mentioned this pull request May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants