Fixed logger call