Documentation

Activity Logs

Activity Logs

VitNode's audit log answers who changed what, when and on which resource, across the AdminCP, moderators, plugins and Content Engine content.

Activity Logs (audit logs) are where VitNode answers "wait, who changed this?". They record administrative, moderation, plugin and content operations in one place. Every entry says who acted, from which area (AdminCP, ModeratorCP, the site or the system), which plugin and action it was, which resource it touched and what changed. You read them in the AdminCP, next to your staff:

  • Admin logs: AdminCP → Staff → Administrators → Logs (/admin/core/staff/admins/logs). AdminCP changes, plus what members, plugins and scheduled jobs did.
  • Moderator logs: AdminCP → Staff → Moderators → Logs (/admin/core/staff/moderators/logs). What moderators did: reports, approvals and hidden content.

Each staff list has a Logs button that opens its log.

Admin logs page in AdminCP Staff with search, plugin, area, action and date filters, Export CSV and Retention settings buttons, and a table of entries showing date, actor, plugin, action and target

Filter by plugin, action, date range or free text (target, action and actor name). The admin log also filters by area, and shows an Area column only when the entries on screen come from more than one area. Click an entry to open its details: the actor, the plugin, the target, each changed field before and after, an Open link to the target and Show this person's activity.

Detail sheet of an Updated a translation of Category entry, showing the actor, date, AdminCP area, Blog plugin, the Announcements target, the Name field changing from News to Announcements and the technical IP address and request id

What gets recorded without any code

AreaRecorded automatically
Content EngineCreate, edit, delete, duplicate, publish, unpublish, hide, unhide, restore, schedule and every translation change of every content type
Roles and staffRoles created, edited and deleted; administrator and moderator permissions added, changed and removed
UsersProfile and role changes made in the AdminCP, password resets, email verification, signed-out devices
SettingsAI settings and access, notification types and danger-zone actions, report reasons, log retention and log exports
ModerationTaking, assigning, resolving and reopening reports, report notes, acting on reported content, approving and rejecting submissions
Background workScheduled publishing, cron jobs and queue tasks, attributed to the system; manual cron runs, attributed to the admin who started them
PaymentsCheckouts started by members, and every status change the provider reports (processing, succeeded, failed, expired)

Your plugin's own operations, such as creating a note or refunding an order, take one call. See Record plugin events.

Audit logs, revisions and technical logs

VitNode keeps three kinds of history, and each one answers a different question.

HistoryAnswersStored in
Activity LogsWho did what, when, to which resourcecore_audit_logs
Content revisionsWhat a record's content used to be, restorablecore_content_revisions
Technical logsWarnings and errors for whoever debugs the servercore_logs

For an editorial content type, the audit entry points at the revision it created instead of copying the content. The detail sheet then shows what changed since the previous revision.

Choose a guide

You want toRead
Record your plugin's own operations, with before/after changesRecord plugin events
Understand or tune what the Content Engine recordsContent Engine activity logs
Decide who may read the logs, how long they are kept, export themAccess and retention
Look up the API, the stored fields and the limitsActivity Logs reference