IBM ODM - How to do rule logging in 8.12 version

94 Views Asked by At

I'm new to ODM 8.12, just doing some discovery for migrating from ODM 8.9.2 to 8.12. Old versions of ODM had IlrLogHandler with various methods for rule execution start , rule execution end.Do we have similar kind of api's available to check the execution start and end at each rule level. Thanks

IlrLogHandler is deprecated, RuleEngineObserver has ruleExecutionStarted and ruleExecutionEnded methods, but need help on whether I can use the same in ODM 8.12 and if yes, how to initialize the custom observer.

1

There are 1 best solutions below

0
Emmanuel B. On

jain

you can find a proper example here of exactly what you're searching for :

  • using an ODM observer
  • adding it to the engine for runtime info
  • you can add log information in the Observer methods to see your rule logging

https://github.com/DecisionsDev/decision-engine-observer-sample

Best Emmanuel