Fixed logger errors.