The Audit mechanism is based on LOG4J, configured to use the JDBCAppender to store the audit statements into the SyncopeAudit table in the internal storage.
Besides this base mechanism, we can introduce the AuditAppender interface, whose instances can:
- declare which event(s) they will be invoked with
- declare another LOG4J appender to send the statements to (besides the JDBCAppender as above)
- optionally offer the ability to transform the standard statement to a format more suitable to the target appender