Minor improvement to sync logging