Adding printing to log for duplicate uploads