better loggin for migration