setting/clearing log XID. honoring client log xid if present