use correct logger while migration