Exclude "url not found" exceptions from logs

Hi everyone,

I’ve a question. How can I prevent the noise in my Neos (4.3) logs of urls which are not found, as they are also pushed to sentry and they are anyway logged in apache/nginx. In my sentry logs I have tons of Neos\Flow\Mvc\Controller\Exception\InvalidControllerException and so in the System.log file.
So I’d like to reduce the noise in my logs a bit.

Thank you in advance!

I believe that it throws a HTTP 404, could you filter HTTP 404 out of Sentry (not knowing it in details and setup possiblities)

This will help @kapale if you use `````Flownative.Sentry

Disable Sentry-Logging for 404 Errors

Flownative:
  Sentry:
    capture:
      excludeExceptionTypes:
        - 'Neos\Flow\Mvc\Controller\Exception\InvalidControllerException'
2 Likes