Added logging to the sync for troubleshooting/tracking purposes