title: Exclude all 404 errors from monolog
body: <p>Currently I have monolog sending me emails when there are errors. I found that 404 errors were just polluting my email and my provider ended up suspending my account due to the number of emails I sent myself. I decided to exclude all 404 errors because all of them were due to bots looking for vulnerabilities and not from clients. </p>
  
  <p>Exclude code:</p>
  
  <p><code>excluded_404s:
                  - ^/</code></p>
  
  <p>The problem I'm seeing now is that symfony still logs 404 errors if the bots use http methods other than GET. My email is now polluted with entries like </p>
  
  <p><code>HEAD :80/phpmyAdmin/</code></p>
  
  <p>How can I exclude all 404 errors including those using http methods other than GET? </p>
  
  <p><em>Edit:</em>
  Oh boy. Beginner mistake here. It seems that after my last deploy of the configuration I did not clear the prod cache and I'm figuring out that the config is cached. I'm using deployer to deploy my code updates but I guess the clear cache command is missing from it.</p>