Skip to content
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

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

Open
lampelk opened this issue Apr 28, 2023 · 0 comments
Open

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

lampelk opened this issue Apr 28, 2023 · 0 comments

Comments

@lampelk
Copy link

lampelk commented Apr 28, 2023

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' ] } ]
@lampelk lampelk changed the title Allow 200 status code to exclude http codes Suggestion: Allow 200 status code to exclude http codes Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant