Error logging: fix 404 errors showing up in logs.