Merge "BUG-2500: add current tree state to traces"
authorTony Tkacik <ttkacik@cisco.com>
Mon, 15 Dec 2014 07:51:15 +0000 (07:51 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 15 Dec 2014 07:51:15 +0000 (07:51 +0000)
opendaylight/md-sal/sal-inmemory-datastore/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/InMemoryDOMDataStore.java

index 85134f1fd499fef5f884c239e9c05f4d99004701..deddd6938ae477eeebbd9fdeb50c79b6d3694eab 100644 (file)
@@ -244,7 +244,7 @@ public class InMemoryDOMDataStore extends TransactionReadyPrototype implements D
 
                 // 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: {}", modification);
+                LOG.trace("Store Tx: {} modifications: {} tree: {}", modification, dataTree);
 
                 return Futures.immediateFailedFuture(new TransactionCommitFailedException("Data did not pass validation.", e));
             } catch (Exception e) {