logging xid and bufferid changes