cakephp/cakephp — pull request #970 by milesj (2012-11-22 05:12:53+00:00)
Title: Add URL to exception logs

**Reasoning:**
My error.log is always riddled with NotFound errors for legacy assets and URLs. Nearly 99% of the stuff in the error logs is useless as you can't tell what was requested, just the "FilesController" or "ImgController" throws a missing exception, etc.

**Benefits:**
With the URL in the logs, you can now handle it accordingly. You can add the URL to robots.txt, block the request at the apache/nginx layer, add the missing asset, parse the logs with more meaningful data, etc.

I'm doing a pull to master as this is a really small change with full backwards compatibility.