Changing the audit mode for a deployment

Change the audit mode for a deployment to enable auditing, change what types of user actions to audit, or disable auditing in a single deployment of NexJ CRM or NexJ Admin Console.

The audit mode determines the types of user actions that are recorded in an audit trail. You can specify event, read, and update audit modes. Each mode logs the date and time of the action, the name of the user who performed the action, and additional information depending on the audit mode.

Note: You cannot specify different read and update audit settings for different deployments. Read and update audit settings for objects apply to all enabled deployments.

To change the audit mode for a deployment:

  1. In NexJ Studio, navigate to the Deployment layer and, in the Environments tab, open the environment in which to change the audit mode.
  2. In the Source tab, to enable audit modes, edit the <Environment> tag and add any of the following attributes:
    eventAudit="true"
    Logs create, update, and delete actions that users perform on objects, for example, creating or deleting a lead. For update actions, original and changed attribute values are recorded.
    readAudit="<auditLevel>"
    Logs read actions that users perform on objects, for example, viewing a contact. You can specify one of three read audit levels:
    access
    Logs the object that was read.
    attributes
    Logs the object and object attributes that were read.
    values
    Logs the object, object attributes, and attribute values that were read.
    updateAudit="true"
    Logs update actions that users perform on objects, for example, changing a contact name. Original and modified attribute values are recorded for update actions.
    For example, to set the audit mode to log all read and update actions for your deployment, the attribute values should look similar to the following:
    <Environment ... readAudit="values" updateAudit="true">
  3. Click the Save button to save your changes to the environment.
The audit mode for your deployment is changed. When you deploy your application, user actions in NexJ CRM are audited based on the specified audit modes.
If your NexJ application is currently running, you must redeploy it for changes to take effect.