Audit Log Print

  • audit, log
  • 0

Medusa Panel › System › Audit Log

The Audit Log records changes made to data in the engine database, so you can see who changed what, when, and from where. It is a table-driven page with search, per-column filtering, sorting and paging. The newest entries appear first by default, and each entry can be expanded to show the exact field changes.

Log table

Each row is a single recorded change. The columns are:

  • ID — the sequential identifier of the entry.
  • Account ID — the numeric identifier of the account that made the change.
  • Account Name — the name of that account.
  • Account Role — the role the account held, shown as a colored label.
  • IP — the address the change was made from.
  • Time — when the change happened, in UTC.
  • Table — the database table that was affected, for example a stream, user or account table.
  • Action — the kind of change, shown as a colored label.
  • Row ID — the identifier of the affected record in that table.
  • Changes — the last column, holding the detailed before-and-after values. It is also the column whose menu lets you toggle other columns.

The Changes cell lists the changed fields as field: value pairs. To keep rows compact it shows the first few entries and clips long values; a Show more control expands the cell to reveal the rest, and Show less collapses it again.

The toolbar search matches across the text of the columns, so you can type a username, a table name or an address to narrow the list. The ID and Account ID columns additionally accept a numeric range (a minimum and a maximum), which is handy for pulling one block of entries.

Clearing the log

The toolbar carries a Clear Audit Logs action. It deletes every entry in the log and asks you to confirm first, because the action cannot be undone. On success the page reloads with an empty log and reports how many entries were removed.

Clearing the log removes all history permanently. If you need the records for compliance or investigation, export or copy what you need before clearing, and prefer the automatic retention setting below over a manual wipe.

Retention

How long entries are kept is controlled by Audit Log Keep Days under System Settings › Advanced. The engine checks hourly and removes entries older than the configured number of days.

  • A value greater than 0 sets the retention window. For example, 30 keeps the last 30 days and discards older entries automatically.
  • A value of 0 disables the audit log entirely.
If the log looks empty or sparse, check this setting first: a low keep-days value trims history aggressively, and a value of 0 turns recording off. Adjust it in Settings rather than relying on the manual clear action.

Related


Was this answer helpful?

« Back