docs
  1. SCAYLE Resource Center
  2. User Guide
  3. SETTINGS
  4. General
  5. Audit logs

Audit logs

All actions that take place in your SCAYLE Panel are logged and can be viewed on the Audit Logs page.

Audit logs provide a record of all system activity and can be important for troubleshooting and security.

Use audit logs to:

  • Trace a system action to a user or role.
  • Find the date and time when a system change occurred.
  • Find the IP address of a computer used to make a change.

View Audit logs in the SCAYLE Panel:

  1. Go to: Settings > General > Audit Logs.

On the Audit Logs page, each Log Entry is listed with the following:

  • ID or unique identifier for each log entry.
  • Key (e.g., product.update, user.delete, etc.).
  • Action (e.g., create, update, delete, etc.).
  • Model ID (identifier for the type of action. E.g., all actions under path App\Models\User have Model ID 441.).
  • User who initiated the system action.
  • Provider ("Core" or Add-on name). For adding audit log entries via the Add-on API, see the createAuditLogs endpoint.
  • Role of the user.
  • Created date and time of the system action.

Audit Logs page

Audit Log Entry

To view a complete Audit Log Entry click on either the ID or Key.

  1. Click the Data-Full tab to view JSON keys/values associated with the object changed in the system. If applicable, it will display the object Before and After the update.
  2. Click Data-Diff to display differences between Before and After.
  3. Click Request to view all of the data sent with the server request for the associated action.

Audit Log Entry example with "Data Full" selected

Audit Log Search and Filter

You can search the Audit Logs using the search bar or filter icon above the list of audit logs. Filters are available for:

  • Key
  • Action
  • Model IDs
  • Provider

To clear a filter click Clear filters in the top right.

Audit Log Auto Deletion

Audit logs are automatically deleted after a set time period, according to the type. The deletion times are as follows:

  • Shop Related: after 14 days
  • Product Related: after 14 days *Add-on Related: after 90 Days
  • User Related: after 365 days
  • All others: after 365 days