Fix logger require conflict