Fixing how logging deals with non-existent files