adding log to migration