made logs generation take machine_num as an input