deleting logger