[Migration] fix printing log to stdout