Proposal: More useful Errors logs

I personally find it very useful to include the path in the errors logs, so maybe you also find it useful to add something like this to error logging?