Skip to main content

Activity Logs

The Activity Logs section provides a complete, tamper-proof audit trail of every action taken by admin users in the SnapCart admin panel. Use it to monitor team activity, investigate issues, and meet compliance requirements.

Activity Logs Activity Logs list showing admin user, action type, affected module, description, IP address, and timestamp


Accessing Activity Logs

Click Activity Logs in the left sidebar.

:::info Permission required Only users with the activity-log.view permission can access this section. Super Admins always have access. :::


What Gets Logged

Every write operation performed by any admin user is automatically recorded:

Action TypeExamples
CreatedNew product added, new user created, new coupon added
UpdatedProduct price changed, order status updated, settings modified
DeletedProduct deleted, blog post removed, customer account deleted
LoginSuccessful admin panel login
LogoutAdmin panel logout
Failed LoginFailed login attempt (wrong password)

Log List

Columns

ColumnDescription
AdminThe admin user who performed the action (name + email)
ActionWhat was done: Created, Updated, Deleted, Login, etc.
ModuleWhich section was affected (Product, Order, User, Settings, etc.)
DescriptionHuman-readable summary of the change (e.g., "Updated product 'iPhone 15 Pro' — price changed from ₹89,999 to ₹84,999")
IP AddressThe IP address of the admin at the time of the action
Date & TimeExact timestamp in the store's configured timezone

Sorting

The log is sorted by Date descending by default (most recent first). Click any column header to re-sort.


Filtering Logs

Activity Log Filters Filter bar showing admin user selector, action type filter, module filter, and date range picker

FilterOptions
Admin UserFilter by a specific admin account
ActionCreated, Updated, Deleted, Login, Failed Login
ModuleProduct, Order, Customer, Coupon, Shipping, Settings, User, Role, etc.
Date RangeCustom start and end date
IP AddressFilter to see all actions from a specific IP

Combine multiple filters to narrow down exactly what you're looking for.


Viewing Log Detail

Click any log row to see the full detail, including:

  • Before value — The data as it was before the change
  • After value — The data as it was set after the change

Log Detail View Log detail showing the before and after JSON values for an order status update

This before/after comparison is especially useful when investigating:

  • Unintended price changes
  • Status changes made by the wrong team member
  • Settings modifications that caused unexpected behaviour

Searching Logs

Use the Search bar to search within log descriptions. For example:

  • Search "order #1042" to see all actions taken on that specific order
  • Search "product" to see all product-related changes
  • Search an admin's name to see everything they've done

Security Use Cases

Investigating a suspicious change

  1. Apply the Module filter to narrow down (e.g., "Settings")
  2. Apply the Date Range filter to the period in question
  3. Review the Description column to identify the change
  4. Click the row to see before/after values
  5. Note the Admin and IP Address

Monitoring a new team member

  1. Filter by the team member's admin account
  2. Set the date range to their onboarding period
  3. Review all Created, Updated, and Deleted actions to ensure they're working within expected scope

Responding to a complaint

If a customer reports an incorrect order status or wrong price:

  1. Filter by Module: Order (or Product)
  2. Search for the order number or product name
  3. Find the log entry showing when and by whom the change was made
  4. Contact the responsible team member for clarification

Retention and Deletion

Activity logs are permanent and cannot be deleted by any admin user — including the Super Admin. This is by design to ensure audit integrity.

Logs are retained indefinitely. If your database grows large, consult the Developer Guide for database archiving strategies.


Exporting Logs

  1. Apply any filters needed to scope the export.
  2. Click Export at the top-right.
  3. A CSV file downloads with all matching log entries.

The export is useful for compliance reporting, external security audits, or importing into a SIEM (Security Information and Event Management) system.