Nhi Nguyen 3.May.11 11:17 AM a Web browser General3.0Linux
Hi,
I'm using event spi to log the event.
Following the documentation, I've create my handler class which implements EventHandler interface.
public class AuditHandler implements EventHandler{
public void init() throws EventHandlerInitException {
}
}
I exported this class as myEvents.jar, then copied to /mnt/LotusConnections/eventHanlders directory
Then, I created the share library name MyHandlerLib in websphere (classpath to /mnt/LotusConnections/eventHanlders/myEvents.jar)
Then, adding these lines to WAS_HOME/AppServer/profiles/Dmgr01/config/cells/CELL_NAME/LotusConnections-config/events-config.xml
<postHandler enabled="true" invoke="ASYNC" name="MyHandler" class="myPackage.AuditHandler">
<subscriptions>
<subscription source="ACTIVITIES" type="*" eventName="*"/>
<subscription source="BLOGS" type="*" eventName="*"/>
<subscription source="COMMUNITIES" type="*" eventName="*"/>
<subscription source="FILES" type="*" eventName="*"/>
</subscriptions>
<properties>
<property name="prop1">Property 1</property>
<property name="prop2">Property 2</property>
</properties>
</postHandler>
Then restart lotus connections
After creating the activiy, the blog, or uploading the files, I could not see any log event in System.Out log file
Any help, please
Thanks in advance