Add log in master and worker, ensure push in last epoch & batch.