if (log.isTraceEnabled()) { log.trace("created transaction " + tx); }
if (trace) { log.trace("created transaction " + tx); }
   public Transaction createTransaction(Xid xid) throws TransactionException   {      if (globalToLocalMap.containsKey(xid))      {         throw new TransactionException("There is already a local tx for global tx " + xid);      }      Transaction tx = new Transaction(xid, transactionLog);            if (log.isTraceEnabled()) { log.trace("created transaction " + tx); }            globalToLocalMap.put(xid, tx);      return tx;   }