add logging in sync_rsync