8000 [HttpKernel] make it configurable which status codes should be logged · Issue #9712 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[HttpKernel] make it configurable which status codes should be logged #9712
Closed
@lsmith77

Description

@lsmith77

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

      0