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:
-
Invoke the sm_edit utility from the BASEDIR/smarts/bin directory:
sm_edit conf/runcmd_env.sh
-
Add the following environment variables and corresponding values using the following syntax:
SM_AUDIT_CLIENT_ACTIONS=TRUE SM_AUDIT_ALL_CONNECTIONS=1
-
Save and close the runcmd_env.sh file.
-
Restart any program currently running for the new environment variables to take effect.