Enabling security logging
In addition to audit logging, it is possible to monitor security.
To switch on security logging, apply the following configuration:
1. Start the JBoss CLI.
2. Run the following command to enable the logger category AuditLogReporter:
/system-property=pn.logging.logger.pnlog.DEFAULT.nl.planon.auditlogging.AuditLogReporter.level:write-attribute(name=value, value="INFO")
3. Run the following command to enable the JSON logging:
/system-property=pn.logging.logger.nl.planon.auditlogging.AuditLogJsonReporter.level:write-attribute(name=value, value="INFO")
4. To switch it off, set it back to "WARN".