BUG 8629: log inconsistent notifications as warn
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / provider / src / main / java / org / opendaylight / controller / clustering / it / provider / impl / IdIntsDOMDataTreeLIstener.java
index 4e1291e1ddf85628f5649e1361e7ce0c32d17fb8..fd5e893cd7189233457cf6a1b213fed2bdfee52e 100644 (file)
@@ -46,7 +46,8 @@ public class IdIntsDOMDataTreeLIstener implements DOMDataTreeListener {
                 if (localCopy == null || checkEqual(change.getRootNode().getDataBefore().get())) {
                     localCopy = change.getRootNode().getDataAfter().get();
                 } else {
-                    LOG.debug("Ignoring notification: {}", change);
+                    LOG.warn("Ignoring notification.");
+                    LOG.trace("Ignored notification content: {}", change);
                 }
             } else {
                 LOG.warn("getDataAfter() is missing from notification. change: {}", change);