Configuring Audit Logging
Audit logging is enabled by default and is configured in the same XML configuration file as change logging.
Its default location is:
wildfly-x.y.z/standalone/configuration/standalone.xmlwhere x.y.z are the version, subversion, and patch numbers.
To disable audit logging, search for the following fragment and change
INFO to
WARN:
<logger category="com.fico.xpress.insight-audit"> <level name="INFO"/> <handlers> <handler name="INSIGHT_AUDIT_FILE"/> </handlers> </logger>After changing the audit log configuration, restart the Xpress Insight server to ensure it is updated and uses the modified settings.
To configure the audit log rotation policy, search for the following fragment and change the
<suffix> element in the same way as you would to configure the change log file rotation policy, described earlier.
<periodic-rotating-file-handler name="INSIGHT_AUDIT_FILE"> <formatter> <pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> </formatter> <file relative-to="jboss.server.log.dir" path="server.log"/> <suffix value=".yyyy.MM.dd"/> <append value="true"/> </periodic-rotating-file-handler>