Sync logging fix