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

Refactor cookbook/console/logging #2534

Closed
wouterj opened this Issue Apr 22, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@wouterj
Copy link
Member

wouterj commented Apr 22, 2013

As of 2.3, we get console events. That means we should refactor cookbook/console/logging.

Instead of the 'hack' in that article, we should use the ConsoleEvents::EXCEPTION event to hook into the exception handling and log it.

More information about the events in the console: http://symfony.com/doc/master/components/console/events.html (you should also interlink to this one in that article)

@weaverryan

This comment has been minimized.

Copy link
Member

weaverryan commented Dec 26, 2013

Thanks guys!

@weaverryan weaverryan closed this Dec 26, 2013

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