Show Table of Contents
11.6.9. About the Audit Log
If the
LogAuditProvider module is enabled, JBoss EAP 6 maintains an audit log which records authentication and authorization in applications and login modules. The file is named audit.log by default and stored in the log subdirectory of the EAP_HOME directory. This behavior is determined by the configuration of the logging subsystem's log handlers. The output of the LogAuditProvider module could be sent to a syslog server in addition to or instead of a file, by using the syslog log handler.
By default, the
LogAuditProvider module outputs only to cumulative audit.log file. To implement a periodic rotating file handler called AUDIT, enter the following management CLI command.
/subsystem=logging/periodic-rotating-file-handler=AUDIT/:add(suffix=.yyyy-MM-dd,formatter=%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n,level=TRACE,file={"relative-to" => "jboss.server.log.dir","path" => "audit.log"})
See Also:

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.