improve logging during migration