Skip to content

Commit

Permalink
log match and FH
Browse files Browse the repository at this point in the history
  • Loading branch information
tkobayas committed Sep 20, 2024
1 parent 6751ddb commit c970161
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public int timesRulesHasFired(String ruleName) {

@Override
public void afterMatchFired(AfterMatchFiredEvent event) {
LOG.info(" afterMatchFired!");
LOG.info(" afterMatchFired! : event.getMatch = " + Integer.toHexString(System.identityHashCode(event.getMatch())));
LOG.info(" : event.getFH = " + event.getMatch().getFactHandles());
String ruleName = event.getMatch().getRule().getName();
if (!firedRules.containsKey(ruleName)) {
firedRules.put(ruleName, Integer.valueOf(0));
Expand Down

0 comments on commit c970161

Please sign in to comment.