Fixed erroneous logger calls