monolog-bundle icon indicating copy to clipboard operation
monolog-bundle copied to clipboard

Suggestion: Allow 200 status code to exclude http codes

Open lampelk opened this issue 2 years ago • 0 comments

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 avatar Apr 28 '23 11:04 lampelk