Changed print to log in pull