Fix logger call