File logging is mostly for testing purposes. If you want to create a history log for
reporting, take a look at the drools-bam module. This allows you create a logger that
will create history information about the execution of your processes in a database, so
that can be used as a data source in your reports. There are also a few sample reports in
that module.
new WorkingMemoryDbLogger(ksession);
Kris
----- Original Message -----
From: Amit Kumar
To: Rules Users List
Sent: Monday, March 29, 2010 5:02 PM
Subject: [rules-users] Logging and BIRT
Hi Folks,
I tried simple logging by using this code
KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession,
"test");
It logs only basic stuff.
How can I log rule runtime, etc.
Trying to generate a report using BIRT as mentioned here
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-flow/html...
Thanks in advance,
Amit
------------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Disclaimer:
http://www.kuleuven.be/cwis/email_disclaimer.htm