Information recorded in the entity history and stats engine logs

The logs corresponding to the history category present information about assignment events and user updates related to workgroups, locales, workflow roles, and clients. On the other hand, the logs corresponding to the stats engine present information about the events handled by the stats engine, as displayed on the Background Jobs page.

Entity history logs

The information in the entity history logs is structured according to the following template:
[timestamp] OPERATION (user who performed the operation) : Description
For example:
[2017-01-25 17:28:39,106] WORKGROUP_LINK DELETE (admin,1) : User 2219 was removed from workgroup 1002

[2017-01-25 17:28:39,151] ROLE_LINK DELETE (admin,1) : User 2219 was removed from workflow role 14

[2017-01-25 18:27:02,218] GROUP_LINK ADD (admin,1) : User 2125 was added to workflow role 11

Stats engine logs

The stats engine logs present information about each background job related to user assignments. The stats engine records three different execution stages:
StageDescriptionSample entries
Explicit user assignmentWhen you assign a user to one or more tasks.
[2019-12-16 12:52:51,179] DEBUG STATENG daemon 2 (3c0b5a03) on host "cjwsserver01" STATENG.EVENTS: Process: 2297.Events: [UserProjectsDrvChangeData{userId=1013, projectId=1657, workflowRoleId=null, workGroupId=null, localeId=null}]
[2019-12-16 12:52:51,241] DEBUG STATENG daemon 2 (3c0b5a03) on host "cjwsserver01" STATENG.EVENTS: Process: 2297. User-Project Statistics Executor Processed Events: [UserProjectsDrvChangeData{userId=1013, projectId=1657, workflowRoleId=null, workGroupId=null, localeId=null}]
Implicit user assignment (role assignment)When you assign a workflow role to one or more tasks.
[2019-12-16 12:53:07,913] DEBUG STATENG daemon 2 (3c0b5a03) on host "cjwsserver01" STATENG.EVENTS: Process: 2298.Events: [UserProjectsDrvChangeData{userId=null, projectId=1658, workflowRoleId=13, workGroupId=null, localeId=null}]
[2019-12-16 12:53:07,928] DEBUG STATENG daemon 2 (3c0b5a03) on host "cjwsserver01" STATENG.EVENTS: Process: 2298. Role-Project Statistics Executor Processed Events: [UserProjectsDrvChangeData{userId=null, projectId=1658, workflowRoleId=13, workGroupId=null, localeId=null}]
Full user statisticsWhen you add or remove workgroups, locales, workflow roles, or clients from a user's account settings.
[2019-12-16 13:12:14,367] DEBUG STATENG daemon 2 (3c0b5a03) on host "cjwsserver01" STATENG.EVENTS: Process: 2313.Events: [UserProjectsDrvChangeData{userId=1337, projectId=null, workflowRoleId=null, workGroupId=null, localeId=null}]
[2019-12-16 13:12:14,383] DEBUG STATENG daemon 2 (3c0b5a03) on host "cjwsserver01" STATENG.EVENTS: Process: 0. Full User Statistics Executor Processed Events: UserProjectsDrvChangeData{userId=1337, projectId=null, workflowRoleId=null, workGroupId=null, localeId=null}
The recorded information is grouped as follows:
  • Explicit user assignment: the ID of the user who was assigned (in the previous example, 1013) and the ID of the project to which the tasks belong (1657).
  • Implicit user assignment: the ID of the project to which the tasks belong (1658) and the ID of the workflow role assigned to those tasks (13).
  • Full user statistics: only the ID of the user whose workgroups, locales, workflow roles, or clients have been modified (1337).

In the case of full user statistics, if the ID of a process is marked as 0, it actually refers to the ID of the process right before it. This is a known issue. For example, in the entry from the table, Process: 0 actually refers to Process: 2313.