I use monolog to receive errors that happens in my symfony application, and every time that some 404 happens I receive the error log in my e-mail.
Its been some time that I receive this same error repeatedly:
[2013-02-01 10:15:32] request.ERROR: Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for “GET /cache/65c40e67bd5236d5be8e3637b4c5c61c” (uncaught exception) at {my_path}/app/cache/prod/classes.php line 5179 [] []
Happens with some others routes I have, like “/login/cache/65c40e67bd5236d5be8e3637b4c5c61c”
Well, I don’t have any idea why this is happening and I want to avoid this kind of error.
Those issues happen when someone requests
yoururl.com/cache/65c40e67bd5236d5be8e3637b4c5c61c. As those are http requests, there are most likely tests if you run a specific kind of application to exploid this. There are many scripts which simply crawl the web, doing some http requests to every domain they can find and if they get a certain kind of response, they try some more.If you don’t want to get those kind of errors with monolog, you could change the level to
critical. There is no way right now to change the level of those 404 errors.