Filters in the audit system


What would be the best approach in order to modify the audit system?

The desired modification would involve the identification of the path/facet/something regarding the accessed object and the decission of logging it or not into the npx_logs table.

Thanks in advance

EDIT: My first successful attempt has been to modify the 'AuditEventLogger#acceptEvent' with an if and my desired condition, and replace it in the ' nuxeo-platform-audit-core-5.6.jar' jar but this is not desired solution.

0 votes

0 answers



I guess that the correct contrib approach would be to dissable all the default events of the original audit system and defining our own ones, with the required filters.

However, initially, we're not going to develop this due to its cost compared to the modification of the class suggested before.