refactoring logging, removing 404s during cache stage and in download