You are here

How to enable auditing

Generation of audit data is disabled by default as it can potentially impact the performance of Alfresco Content Services. To enable auditing, configuration must be added to the Alfresco Content Services global properties file.

The audit.enabled property (which is set to true by default) provides a way to globally enable or disable the auditing framework. However, enabling this property does not necessarily result in the generation of audit data. To enable generation of audit data that you can view in Alfresco Share or the log files, you will need to enable the audit.alfresco-access.enabled property.

To enable auditing add the following settings to the tomcat/shared/classes/ file:

      ### Auditing config
      audit.enabled = true
      ### Enabling sub-actions
      # Enable the auditing of sub-actions. Normally disabled as these values are
      # not normally needed by audit configurations, but may be useful to
      # developers

Once changes to the global properties file have been saved, you will need to restart the server, for auditing to be fully enabled.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.