Fix 404 logging