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

Rename command logging services #6575

Closed
wants to merge 2 commits into from
Closed

Rename command logging services #6575

wants to merge 2 commits into from

Conversation

sroze
Copy link
Contributor

@sroze sroze commented May 16, 2016

Q A
Doc fix? yes
New docs? no
Applies to 3.0
Fixed tickets ø

This PR updates the name of the services used for the two listeners. The main reason is that if the developer simply copy/paste the two services' definition, it won't work as expected as they have the same name. The first one will be replaced.

@@ -81,7 +81,7 @@ First configure a listener for console exception events in the service container

# app/config/services.yml
services:
kernel.listener.command_dispatch:
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated to this pull request, but shouldn't these services be called app.* instead of kernel.* ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, that makes more sense. Do you want me to update the PR?

Copy link
Member

Choose a reason for hiding this comment

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

That would be good. There is no need to do this in another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@javiereguiluz
Copy link
Member

@sroze 👍 nice! Thank you.

xabbuh added a commit that referenced this pull request May 19, 2016
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes #6575).

Discussion
----------

Rename command logging services

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 3.0
| Fixed tickets | ø

This PR updates the name of the services used for the two listeners. The main reason is that if the developer simply copy/paste the two services' definition, it won't work as expected as they have the same name. The first one will be replaced.

Commits
-------

bbae797 Rename command logging services
@xabbuh
Copy link
Member

xabbuh commented May 19, 2016

Thank you @sroze!

@xabbuh xabbuh closed this May 19, 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.

3 participants