The Audit Log keeps a WordPress audit log of who changed what in the admin. Useful when more than one person looks after the site, or when something changed and nobody remembers doing it. It is part of the free AdminEase plugin; email alerts are Pro.

What this feature does

It records changes to AdminEase settings, users and their roles, plugins, themes, posts moved to the trash or deleted, and logins, failed logins and logouts. Setting values are never stored, only what was changed. A failed login stores the name that was typed and the visitor’s IP address, never the password; that name can be personal data such as an email address. Each site on a network keeps its own log.

How to turn on the WordPress audit log

  1. Open AdminEase › Users › Audit Log.
  2. Turn on Audit Log and save. Entries start from now; earlier changes are not recorded.
  3. Read the log. The log shows below the settings. Turn on Auto-Load Audit Log to load it whenever you open the section.

Settings reference

SettingWhat it doesDefault
Audit LogRecords who changed what in the admin.Off
Auto-Load Audit LogLoads the log as soon as the section opens.Off
Maximum Log EntriesEntries to keep (100 to 100000). The oldest go first.10000
Auto Clear Logs AfterDeletes entries older than 30 days, 90 days, 180 days or 1 year, or never.90 days
Email Alerts (optional) ProEach row emails its recipients when one of its events happens. Empty recipients use the site administrator email.No alerts

What happens behind the scenes

Clearing and extending the log

Clearing the whole log leaves one entry saying that it was cleared, and by whom. Developers can add their own entries with the adminease_audit_log action, and their own event groups and descriptions with the adminease_audit_log_event_labels and adminease_audit_log_description filters.

Troubleshooting

The log is empty

The log records changes made after you turned it on. Make a change, such as saving a setting, and reload the section.

Do I need to mention it in my privacy policy?

Failed logins store the typed name and an IP address, which can be personal data. Mention it if your privacy policy lists what the site records.