added some log messages for syncing