This looks just like the output an org.drools.logger.KnowledgeRuntimeLogger would produce. To see this on standard output, all you have to do logger = KnowledgeRuntimeLoggerFactory.newConsoleLogger( session ); Other loggers of this class log to files.
But this is certainly not being called by default in 5.2.0. -W On 17 August 2011 01:57, lhorton <[email protected]> wrote: > In my application that drives the rules engine, I have created my own > SystemEventListener that writes to my application log4j log file. I also > have also created my own AgendaEventListener to log to log4j, and have > added > it to my stateless knowledge sessions. This is working fine and the > expected log entries show up in the correct application log. > > However, there are also things being logged to my tomcat server log > (catalina.out). The entries look like this: > > ACTIVATION CREATED rule:JobWorkflowRepeat activationId:JobWorkflowRepeat > [2] > declarations: $daemon=Thread[Thread-29,5,main](2) > OBJECT ASSERTED value:Thread[Thread-29,5,main] factId: 2 > BEFORE ACTIVATION FIRED rule:JobWorkflowRepeat > activationId:JobWorkflowRepeat [2] declarations: > $daemon=Thread[Thread-29,5,main](2) > AFTER ACTIVATION FIRED rule:JobWorkflowRepeat > activationId:JobWorkflowRepeat > [2] declarations: $daemon=Thread[Thread-29,5,main](2) > > I would like to get control over these log entries, to suppress some and to > route others to my application log. Where are these coming from? I have > not explicitly set up any listeners other than the ones I specified above. > I don't remember seeing these entries before 5.2.0. > > thanks for any advice. > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/source-of-activity-listener-log-entries-tp3260156p3260156.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
