commit | 0d972b9594085831b0e10a78cf45742670f9d7a8 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Wed Dec 03 20:07:34 2014 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Dec 04 05:46:15 2014 +0000 |
tree | ddf773fd5717b09dea99e55f92da6d28d7552d29 | |
parent | cbba052c86226a44eb76eb5d192cf5573be5ef7b [diff] |
Fix the logic for printing a log message "Intent ... removed installable still found", and change the level from INFO to WARNING. [Discussed with Yuta] Change-Id: I0b40559de10983c3330f1174e3ab1cbe06f07b32
diff --git a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/HazelcastIntentStore.java b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/HazelcastIntentStore.java index 7938194..fc10284 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/HazelcastIntentStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/HazelcastIntentStore.java
@@ -508,8 +508,8 @@ if (prevIntentState == null) { log.warn("Intent {} state was already removed", intentId); } - if (prevInstallable == null) { - log.info("Intent {} installable was already removed", intentId); + if (prevInstallable != null) { + log.warn("Intent {} removed installable still found", intentId); } } catch (InterruptedException e) { log.error("Batch write was interrupted while processing {}", op, e);