Aug 22, 2017

How to enable Audit Logging in Glassfish Server

Auditing is the process of recording key security events in your GlassFish Server environment. 

You use audit modules to develop an audit trail of all authentication and authorization decisions. To enable audit logging, two steps are required: 1. On the Security page, select the Audit Logging Enabled checkbox to enable audit logging.
2. Set the auditOn property for the active audit module to true.

<audit-module classname="com.sun.enterprise.security.Audit" name="default">
          <property name="auditOn" value="false"></property>

        </audit-module>