Check the logs for migrations that take too long

Change-Id: I38cbce3771afea8dc2ffecc243d727bc1759431e