Committed by
Gerrit Code Review
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
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -508,8 +508,8 @@ public class HazelcastIntentStore | ... | @@ -508,8 +508,8 @@ public class HazelcastIntentStore |
508 | if (prevIntentState == null) { | 508 | if (prevIntentState == null) { |
509 | log.warn("Intent {} state was already removed", intentId); | 509 | log.warn("Intent {} state was already removed", intentId); |
510 | } | 510 | } |
511 | - if (prevInstallable == null) { | 511 | + if (prevInstallable != null) { |
512 | - log.info("Intent {} installable was already removed", intentId); | 512 | + log.warn("Intent {} removed installable still found", intentId); |
513 | } | 513 | } |
514 | } catch (InterruptedException e) { | 514 | } catch (InterruptedException e) { |
515 | log.error("Batch write was interrupted while processing {}", op, e); | 515 | log.error("Batch write was interrupted while processing {}", op, e); | ... | ... |
-
Please register or login to post a comment