Skip to content

Suggestion: Allow 200 status code to exclude http codesΒ #458

@lampelk

Description

@lampelk

I have a health check which floods my logs and would like to exclude but it doesn't exclude these paths /ping and /health for 200 status code:

  monolog:
    handlers:
      main:
        type: fingers_crossed
        excluded_http_codes: [ 404, { 200: [ '^/ping', '^/health' ] } ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions