Skip to content

Refactor cookbook/console/logging #2534

@wouterj

Description

@wouterj

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConsoleactionableClear and specific issues ready for anyone to take them.bughasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions