ActivityStreamService, how to disable low level activities ?

We're currently using ActivityStreamService with our own activities. The corresponding Hibernate managed table 'nxp_activities' is filled very quickly by low level activities : documentCreated, documentModified.

We also have performance problems due to that overload.

How to disable this activities ?

0 votes

1 answers

1052 views

ANSWER



The activities about documentCreated, documentModified and documentRemoved are logged through the ActivityStreamListener listener.

You can disable it with the following contribution:

<require>org.nuxeo.ecm.activity.listeners</require>
<extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
  point="listener">
  <listener name="activityStreamListener" enabled="false" />
</extension>
1 votes



thank you very much for responding so quickly Thomas
03/21/2012