Add more logging for last_sync_time changes