Hi,
No help !!!
Following the advice of Maciej, I added the following lines in my file kmodule.xml:
<listeners>
<agendaEventListener type="org.kie.api.event.rule.DebugAgendaEventListener"/>
</listeners>
And now, I found in the log file server, the lines corresponding to the events of the program auditor. Following this result I have a question:
Why the lines are in ERROR (see below) while the rules executed are the right ones and in the right order?
2017-05-05 16:29:48,636 ERROR [stderr] (default task-10) ==>[AgendaGroupPushedEvent: getAgendaGroup()=AgendaGroup 'R1', getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,643 ERROR [stderr] (default task-10) ==>[ActivationCreatedEvent: getActivation()=[[ R1-1 -- 10 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,652 ERROR [stderr] (default task-10) ==>[BeforeActivationFiredEvent: getActivation()=[[ R1-1 -- 10 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,671 INFO [stdout] (default task-10) R1-1 : Agenda R1, Salience 100
2017-05-05 16:29:48,675 ERROR [stderr] (default task-10) ==>[AfterActivationFiredEvent: getActivation()=[[ R1-1 -- 10 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,685 ERROR [stderr] (default task-10) ==>[ActivationCreatedEvent: getActivation()=[[ R1-2 -- 100 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,702 ERROR [stderr] (default task-10) ==>[BeforeActivationFiredEvent: getActivation()=[[ R1-2 -- 100 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,720 INFO [stdout] (default task-10) R1-2 : Agenda R1, Salience 10
2017-05-05 16:29:48,727 ERROR [stderr] (default task-10) ==>[AfterActivationFiredEvent: getActivation()=[[ R1-2 -- 100 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,735 ERROR [stderr] (default task-10) ==>[AgendaGroupPoppedEvent: getAgendaGroup()=AgendaGroup 'R1', getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,748 ERROR [stderr] (default task-10) ==>[ActivationCreatedEvent: getActivation()=[[ R3 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,759 ERROR [stderr] (default task-10) ==>[BeforeActivationFiredEvent: getActivation()=[[ R3 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
2017-05-05 16:29:48,771 INFO [stdout] (default task-10) R3 : sans agenda, sans salience
2017-05-05 16:29:48,778 ERROR [stderr] (default task-10) ==>[AfterActivationFiredEvent: getActivation()=[[ R3 active=false ] [ [fact 0:0:1706870546:1306428912:0:DEFAULT:NON_TRAIT:org.drools.core.reteoo.InitialFactImpl:org.drools.core.reteoo.InitialFactImpl@4dde85f0] ] ], getKnowledgeRuntime()=KieSession[0]]
Thank for your answers and good week-end