Fix logger not provided