Added more logging to synchronization