log the transaction id if we have it (bug 875319)