AnsweredAssumed Answered

How to capture the core events of BB

Question asked by hel on Nov 16, 2018

Hello everyone~

 

When I was using the BB platform,

I found some updates or deletes on the platform did not record the operator on database,I did not find a real table record these history operation data. only can find a little related thing in bb-access-*.log

Many times, our customers have deleted some users or courses by themselves,but they refuse to admit what they have done,and let us get this data back...

This is very painful for us.So we want to record these important operations and operators in our own defined Table by capture event.

If we have evidence, it will not be so passive.....@。@

 

 

I have heard that bulidblock has the function of capture course copy.

Like this:

bb-manifest.xml

1.png

code:

2.png

 

 

But this doesn't seem to work.

no log about "system.out.print()" appers in "stdout-stderr*.log"

and no exceptions occurred during the deployment this buildingblock.

If it is convenient, would you provide a demo?

 

And I saw a lot of EventListener interfaces in bb-platform.jar

Like:

CourseMembershipLifecycleEventListener

CourseRegistryLifecycleEventListener

······

If possible, can I use them like CxComponent?

 

 

OR

Would you provide some other suggestions to achieve my purpose?

 

 

BR

LucyTing

from China

Outcomes