[rules-users] KnowledgeRuntimeLogger file logger
bitter
rgorzkow at gmail.com
Sat May 19 15:28:41 EDT 2012
I registered file KnowledgeRuntimeLogger (logging output will be similar to
that generated by the registered WorkingMemoryEventListener) and trying to
analize output xml.
Here is output content:
<object-stream>
<org.drools.audit.event.ActivationLogEvent>
<type>4</type>
<activationId>check education - nvq [1]</activationId>
<rule>check education - nvq</rule>
<declarations>$creditApplication=CreditApplication{scoringResult=0,
clientAge=27, clientEducation=NVQ}(1)</declarations>
</org.drools.audit.event.ActivationLogEvent>
<org.drools.audit.event.ObjectLogEvent>
<type>1</type>
<factId>1</factId>
<objectToString>CreditApplication{scoringResult=0, clientAge=27,
clientEducation=NVQ}</objectToString>
</org.drools.audit.event.ObjectLogEvent>
<org.drools.audit.event.ActivationLogEvent>
<type>6</type>
<activationId>check education - nvq [1]</activationId>
<rule>check education - nvq</rule>
<declarations>$creditApplication=CreditApplication{scoringResult=0,
clientAge=27, clientEducation=NVQ}(1)</declarations>
</org.drools.audit.event.ActivationLogEvent>
<org.drools.audit.event.ActivationLogEvent>
<type>7</type>
<activationId>check education - nvq [1]</activationId>
<rule>check education - nvq</rule>
<declarations>$creditApplication=CreditApplication{scoringResult=20,
clientAge=27, clientEducation=NVQ}(1)</declarations>
</org.drools.audit.event.ActivationLogEvent>
</object-stream>
Could anyone explain me why ACTIVATION_CREATED ( type 4) event is logged
before INSERT( type 1) event?
--
View this message in context: http://drools.46999.n3.nabble.com/KnowledgeRuntimeLogger-file-logger-tp4002644.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list