docs: @Override
      public void log(RecoverableUnitSection rus) throws SystemException
      {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "log", new Object[] { this, rus });
  
          if (tc.isDebugEnabled())
          {
              Tr.debug(tc, "about to log stoken " + Util.toHexString(((XidImpl) _xid).getStoken()));
              Tr.debug(tc, "about to log recoveryId " + getRecoveryId());
              Tr.debug(tc, "about to log seqNo " + ((XidImpl) _xid).getSequenceNumber());
  
              Tr.debug(tc, "ID from pld " + _recoveryData._recoveryId);
          }
  
          // Log the stoken, recoveryId and the sequence number
          final byte[] stoken = ((XidImpl) _xid).getStoken();
          final int recoveryId = (int) getRecoveryId();
          final int seqNo = ((XidImpl) _xid).getSequenceNumber();
          final byte[] data = new byte[stoken.length + 6];
          System.arraycopy(stoken, 0, data, 0, stoken.length);
          Util.setBytesFromInt(data, stoken.length, 4, recoveryId);
          Util.setBytesFromInt(data, stoken.length + 4, 2, seqNo);
  
          if (tc.isDebugEnabled())
          {
              Tr.debug(tc, "logging stoken " + Util.toHexString(stoken));
              Tr.debug(tc, "logging recoveryId " + recoveryId);
              Tr.debug(tc, "logging seqNo " + seqNo);
              Tr.debug(tc, "Actual data logged", Util.toHexString(data));
          }
  
          try
          {
              rus.addData(data);
          } catch (Exception exc)
          {
              FFDCFilter.processException(exc, "com.ibm.ws.Transaction.JTA.JTAXAResourceImpl.log", "326", this);
              if (tc.isEventEnabled())
                  Tr.event(tc, "Exception raised adding data to the transaction log", exc);
              throw new SystemException(exc.toString());
          } finally
          {
              if (tc.isEntryEnabled())
                  Tr.exit(tc, "log");
          }
      }