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

Appearance settings

[HttpKernel] make it configurable which status codes should be logged #9712

Copy link
Copy link
Closed
@lsmith77

Description

@lsmith77
Issue body actions

ExceptionListener::logException currently logs every exception. In some cases one might for example not log 404 errors at all. Currently one needs to either override the parameter defining the class name of the service or overriding the twig bundle service itself.

It might be useful to have some way to filter (regexp?, blacklist?, whitelist?) which status codes should be logged. For example ignore all 404.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.