Enabling audit logging in WebSphere

Audit logging can be enabled by adding the required Java variables to the JVM properties for the Workforce Management server.
  1. In the WebSphere console, select Server Type > Websphere Application Servers > Server Name > Java And Process Management (Under Server Infrastructure) > Process Definition > Java Virtual Machine (Under Additional Properties).
  2. Add the -Dworkbrain.security.audit.enabled=true Java variable to the Generic JVM arguments field.
  3. Add the -Dlog.dir=<FilePath> Java variable to the Generic JVM arguments field to specify the directory where you want to save the audit log. Replace <Filepath> with the directory path.
    Note: The audit logs are rotated and are eventually deleted. If you require permanent preservation of the logs due to security/administrative business requirements, you can use an external third party log aggregator or any solution that will copy the logs to a permanent storage area.
  4. Click OK.
  5. Click Save on the new page to save the changes.