The audit log tracks changes made to objects in the database and records the user who made the change, when the change was made, and what was changed.
Limitations
The audit log exists to make undoing accidental changes easier, and is not intended to replace regular database backups.
When undoing a deletion, dependents of the object will not be restored. For example, deleting a machine also deletes all of its programs, parts, events, etc., but restoring a machine restores only the machine itself.
Only the object types listed in audited object types are audited.
Change types
- Created (
INSERT
): the object was added to the database. The initial state of the object is displayed as "after". - Edited (
UPDATE
): the object was modified. A table will be displayed with a side-by-side comparison of the "before" and "after" states of the object, highlighting the differences. - Deleted (
DELETE
): the object was deleted. The state of the object prior to deletion is displayed as "before". Learn more about the audit log of deleted objects below: Trash.
Audited object types
- Machines
- Parts
- Events
- Programs
- Users
- Tools
- Tool assemblies
- Inventory items
- Inventory points
- Notification channels
- Dimensions
- Maintenance items
- Maintenance entries
- Maintenance issues
Trash
The trash tab of the settings window shows the last 10 audited objects that have been deleted from the database.
To view the details of an item that has been deleted, expand it by clicking the down arrow in the actions column.
To restore an item that has been deleted, click the undo button in the actions column.
Viewing the audit log for an object
Machines
- Go to the machines page
- Expand the machine's card
- Click the Edit button
- Switch to the Info tab of the machine editor
- Under the Management section, click the Audit Log button
Parts
- Open the part editor (by clicking on a charted part, clicking Edit on a scrapped part listed under the production chart, etc.)
- Switch to the Manage tab
- Click the Audit Log button
Programs
- Open the Programs page
- Expand the drop-down next to a program's edit button
- Click Audit Log
Tools
- Open the Tools page
- Expand the drop-down next to a tool's replace button
- Click Audit Log
Tool Assemblies
- Open the Tool Assemblies page
- Expand the drop-down next to an assembly's history button
- Click Audit Log