Filters in the audit system

Iru_
Champ in-the-making
Champ in-the-making

Hi,

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.

1 REPLY 1

Iru_
Champ in-the-making
Champ in-the-making

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.