Added basic logging to migrations.