Add basic synclog code to try and track sync issues