To generate audit log output on a server you must add the SM_AUDIT_CLIENT_ACTIONS environment variable to the runcmd_env.sh file. The runcmd_env.sh file is located in the BASEDIR/smarts/local/conf directory.

To add the SM_AUDIT_CLIENT_ACTIONS environment variable to the runcmd_env.sh file:

  1. Invoke the sm_edit utility from the BASEDIR/smarts/bin directory:

                   sm_edit conf/runcmd_env.sh
                
  2. Add the following environment variables and corresponding values using the following syntax:

    SM_AUDIT_CLIENT_ACTIONS=TRUE
    SM_AUDIT_ALL_CONNECTIONS=1
    
  3. Save and close the runcmd_env.sh file.

  4. Restart any program currently running for the new environment variables to take effect.