Added more logging for sync