logging for 404 errors