InMemoryDOMStoreThreePhaseCommitCohort: wrong trace parameter 72/42672/2
authorIsaku Yamahata <isaku.yamahata@intel.com>
Thu, 28 Jul 2016 06:08:06 +0000 (23:08 -0700)
committerTom Pantelis <tpanteli@brocade.com>
Fri, 29 Jul 2016 14:51:42 +0000 (14:51 +0000)
One parameter for trace is missing.
Looks like copy-n-paste bug

Change-Id: I4ca4cd8c790dfaefa7ad8b7f8e2f4f71ae85242d
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMStoreThreePhaseCommitCohort.java

index 68cc7b49b243b56e0e8c3e1f1a8017a7713acea6..a7843947c01cfea1ff3d4ee71cd475b9baeb1b87 100644 (file)
@@ -66,7 +66,7 @@ class InMemoryDOMStoreThreePhaseCommitCohort implements DOMStoreThreePhaseCommit
 
             // For debugging purposes, allow dumping of the modification. Coupled with the above
             // precondition log, it should allow us to understand what went on.
-            LOG.trace("Store Tx: {} modifications: {} tree: {}", modification, store);
+            LOG.trace("Store Tx: {} modifications: {} tree: {}", getTransaction().getIdentifier(), modification, store);
 
             return Futures.immediateFailedFuture(new TransactionCommitFailedException("Data did not pass validation.", e));
         } catch (Exception e) {