Chapter 2. Configuration

Table of Contents

Enabling feature
Configuration of auditlog file
Configuration of searchable repository
Using AuditLog component under different component name than audit-log
Logging packets not exchanged between client and server
Logging only packets received by user

Enabling feature

To enable AuditLog feature you need to enable AuditLogComponent component in etc/ file and set used auditlog repository implementations. To do this you need to set name of component and class implementing this component, ie.

'audit-log' () {
    memoryRepository () {}
    slf4jRepository () {}

It is also required to enable AuditLogProcessor. To do so you need to enable audit-log processor in sess-man section:

'sess-man' () {
    'audit-log' () {}