Improve log for 404 error.