From b3341bb2804f0833c4e1781c0ab7dcb16e498e4b Mon Sep 17 00:00:00 2001 From: Tom Pantelis Date: Wed, 22 Apr 2015 12:53:12 -0400 Subject: [PATCH] Reduce non-existent Tx chain logging on close in ShardDataTree In ShardDataTree#closeTransactionChain, if the Tx chain doesn't exist it emits a warning. However the CloseTransactionChain message is broadcasted to all shards so there will always be a non-existent chain on some shards so I reduced the log level to debug. Change-Id: Ia4243c4a2987fa4f43d272a7435a9d7b5d43445b Signed-off-by: Tom Pantelis --- .../controller/cluster/datastore/ShardDataTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java index fbe699223c..56c5eb65bf 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java @@ -115,7 +115,7 @@ public final class ShardDataTree extends ShardDataTreeTransactionParent { if (chain != null) { chain.close(); } else { - LOG.warn("Closing non-existent transaction chain {}", transactionChainId); + LOG.debug("Closing non-existent transaction chain {}", transactionChainId); } } -- 2.36.6