Library / Users & access / Audit log
No. 147·noun·also called audit trail, activity log, activity history

Audit log

A permanent record inside your app of who did what and when, which admins can look back at.

SPECIMEN · DIAGRAM · FLOW
PersonSomeone actsDeletes an invoice
AppApp
DataAudit log entryWho, what, when
PersonAdminReads it later
actionrecordsread-only
Definition

What it is

An audit log is a list of important actions people took in your app. Each entry records who did it, what they did, which item it affected, and when. For example: "Dana deleted invoice #1042, Tuesday 3:14pm".

Use it when more than one person can change things, or when mistakes and disputes cost money. It answers "who changed this?" and "when did this role change?". Business customers often require one before they'll buy.

A good audit log is append-only. Entries get added and nobody can edit or remove them, including admins. Choose what to record: deletes, permission changes, exports, and logins are common. Not every click.

It is a feature your users see, not a developer tool. Plain logs help builders find out why the app broke.

Say it like a builder

How to ask for it

Vague

“I need to be able to see who changed things in the app, in case someone messes up.”

Precise

“Add an audit log that records the user, action, affected item, and timestamp for every delete, role change, and data export. Show it to admins only in a read-only table sorted newest first, and don't allow anyone to edit or delete entries.”

Why it works

"See who changed things" could mean a last-edited label, a version history, or developer logs; "audit log" names a permanent, admin-facing record and the prompt sets what gets recorded and who can see it.

In the wild

You've seen this in

  • GThe Activity log in Google Workspace's admin console
  • DThe Audit log in a Discord server's settings, showing who banned or edited what
  • N"Last edited by Priya, 2 hours ago" and revision history in Notion
Usage note

Often confused with