Introduction
The Audit Log provides information about the operations that users of the JobScheduler Web Service - including JOC Cockpit users and external applications - perform on job-related objects. The Audit Log lists the relevant JobScheduler objects - Jobs, Job Chains, Orders, etc. - and any operations that modify their status.The Audit Log is written by the JobScheduler Web Service as shown in the JOC Cockpit - Architecture page.
Audit Log
The Audit Log is maintained for objects such as Jobs, Job Chains, Orders, etc., whose statuses are modified by users carrying out operations such as starting, stopping or pausing.
- Any new entries will be added to this file, i.e. the file will not be overwritten.
- The Audit Log is not visible to users but only to administrators with access to the file system where the JOC Cockpit is installed.
- It lies in the responsibility of the administrator to check compliance requirements such as the retention period for information contained in this file.
- Maintenance of an Audit Log requires the administrator to comply with applicable law and corporate governance.
Audit Log Location
The Audit Log is found in the ./joc_home/jetty_base/logs
directory, in the JOCAuditLog.log
file. If the file does not exist, it will be created with the first operation of a user who modifying the status of an object.
Audit Log Sample
The following sample shows a number of Web Service requests that have been performed by a user "ap":
Audit Log Explanation
- The Audit Log includes the Web Service URL, which allows the object type and operation to be identified. For example, .
/orders/resume
translates to the operation to resume an order that is identified by its order ID and job Chain path, as specified in the parameters part of each log entry.
Audit Log Housekeeping & Archiving
As already noted the JOC Cockpit adds to the Audit Log on an ongoing basis.
System administrators need to implement their own housekeeping / log rotation and archiving system according to their business and compliance requirements.