Michael Neale wrote:
>
> BRMS is more of a design time feature - what you are talking is
> logging an audit trail of rules execution - you can do that with event
> listeners in your code (so your rules don't even have to be aware of
> it) then as rules fire, you can grab the details (from the listener
> APIs) and log it as you please !
>
>
> Michael.
>
> On Thu, Oct 2, 2008 at 5:01 AM, techluver <
techluver007@gmail.com> wrote:
>>
>> I'm new to drools world. Kindly clarify following things
>>
>> My requirement is to log each data in the DB(that meets any of the
>> business
>> rule) along with rule info.
>>
>> if I use BRMS ( i think it maintains the rules separately in its own db
>> table)
>>
>> How I can associate each log with the rule info?
>>
>> Approach 1. Can I access BRMS's rules directly and associate it in my
>> logging?
>>
>> Approach 2. I can't do Approach 1, then I'm thinking to have RULES table
>> in
>> my app db.Then whenever any rule is added using BRMS, Then add an entry
>> into
>> RULES table and use this table for my logging
>>
>> Please advise me on the right approach.
>>
>> Thanks in advance.
>> --
>> View this message in context:
>>
http://www.nabble.com/BRMS-rule-info-logging-tp19766982p19766982.html
>> Sent from the drools - user mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> rules-users mailing list
>>
rules-users@lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
> --
> Michael D Neale
> home:
www.michaelneale.net
> blog:
michaelneale.blogspot.com
> _______________________________________________
> rules-users mailing list
>
rules-users@lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>