conditional sync
Merge pull request #1486 from edx/jarv/sync-logs-again

conditional sync