WordPress Activity Log and Change Log: Track Who Changed What on Your Site
See who edited a page, changed a price or installed a plugin. How to add a WordPress activity log, what it records and how long to keep it.

On this page
- How to check the WordPress change log
- Activity log vs error log vs server log
- What an activity log records
- What to log (and what to skip)
- Why it helps with security
- Why it helps with teamwork
- Activity log plugins
- What to review, and how often
- Retention and privacy
- What activity logs can't do
- Setting up a WordPress activity log for a team in India
- Quick check: is your log working?
- When to get help
- FAQs
- WordPress has no full change log built in: revisions cover content only, so an activity log plugin is needed to see logins, user, plugin and settings changes.
- Activity logs, revisions, error logs and server logs answer different questions; check the right one first.
- Give every person their own login, log the events that matter, set a retention period and have a named person review the log weekly.
Short answer: A WordPress activity log is a record of every login, page edit, plugin install and settings change on your site, with the user, time and IP address. WordPress has none built in, so you add one with an activity log plugin and read it from the dashboard.
WordPress doesn't keep a log of who changed what by default. To see who edited a page, changed a price or logged in, add an activity log plugin, which records logins, content edits, plugin, theme and setting changes with the user, time and IP address. For a single post or page, the Revisions panel in the editor already shows who saved each version.
An activity log (also called an audit log or change log) answers questions like "who changed the price on this product?" or "did anyone log in last night?", and it helps with security, teamwork and troubleshooting.
In short: a WordPress activity log is a plugin that records events inside WordPress, such as logins, content edits, plugin updates and settings changes, with the user, time and IP address. It isn't the same as an error log or a server log, which record different things in different places; the table below shows which one answers which question.
How to check the WordPress change log
To see a WordPress change log, install an activity log plugin, then open its log screen in the dashboard and filter by user, date or event type. Revisions only cover page and post content, so for anything else the plugin's log is the place to look. Remember that a log only shows events from the moment it was switched on; it cannot recover history from before.
- Check whether a logging plugin is already active under Plugins. Some security plugins include a basic activity log.
- If there is none, install one now so future changes are recorded.
- Open the log screen and filter by the date range when the problem appeared.
- Narrow by event type: content, plugin, user, settings or WooCommerce.
- Note the user, time and IP address of the relevant entry, and export it if it relates to a security issue.
- For content changes, open the page's revisions to compare the old and new text and restore if needed.
| Question | Where to look first |
|---|---|
| Who changed this product price? | Activity log (WooCommerce events) |
| What did this page say last week? | Revisions, then a backup |
| Which plugin update broke the site? | Activity log, then the error log |
| Who logged in last night? | Activity log login events |
| Are bots attacking the login page? | Activity log failed logins, then the server access log |
Activity log vs error log vs server log
"WordPress logs" can mean several different things. Knowing which one you need saves a lot of searching:
| Log | What it records | Where it lives | Use it to answer |
|---|---|---|---|
| Activity (audit) log | Actions by users inside WordPress: logins, edits, plugin, theme and settings changes | A plugin, usually stored in the WordPress database | Who changed what, and when? |
| Revisions | Earlier versions of a single post or page's content | Built into WordPress | What did this page say before? |
| Error log (PHP or debug log) | PHP warnings and fatal errors from WordPress, themes and plugins | The host's PHP error log, or wp-content/debug.log when debugging is switched on | Why is the site showing a critical error or a blank page? |
| Server access log | Every request to the server: IP address, page, status code, browser or bot | The web server, viewed through your hosting panel | Is a bot hammering the site? Where are 404s and attacks coming from? |
| Server error log | Errors from the web server itself | Your hosting panel | Why am I seeing 500 or 403 errors? |
To turn on WordPress's own debug log temporarily, add define( 'WP_DEBUG', true );, define( 'WP_DEBUG_LOG', true ); and define( 'WP_DEBUG_DISPLAY', false ); to wp-config.php. Switch it off when you're done, because a debug.log file in a public folder can expose details about your site. For using error logs to fix specific problems, see "There has been a critical error on this website" and 500 Internal Server Error in WordPress.
What an activity log records
| Area | Examples of logged events |
|---|---|
| Logins | Successful logins, failed attempts, logouts, password resets |
| Users | New accounts, role changes, deleted users, profile edits |
| Content | Pages and posts published, edited, trashed or restored |
| Plugins and themes | Installed, activated, deactivated, updated or deleted, and files edited from the dashboard |
| Settings | Changes to the site address, permalinks and other core settings |
| WooCommerce | Product, price and stock changes, order status updates and coupon edits, depending on the plugin |
What to log (and what to skip)
- Always: logins and failed logins, new users and role changes, plugin and theme installs, updates and deletions, file edits from the dashboard, and changes to core settings
- For most business sites: page and post changes, menu and widget changes, and form plugin settings, so a broken enquiry form can be traced
- For stores: price, stock and coupon changes, and order status changes made by staff
- Usually skip: detailed tracking of every visitor or customer action. It fills the database and collects personal data you probably don't need
Why it helps with security
- Spot suspicious activity early: a new administrator nobody created, a login at 3 a.m. from an unfamiliar location, or a plugin nobody asked for; see signs your WordPress site has been hacked
- See password-guessing attacks: bursts of failed logins show bots at work, a sign to tighten login security
- Build a timeline after a hack: knowing when a user was created or a plugin changed helps find the way in, and helps choose a clean backup from before it
Logins are the front door, so pair a log with the steps in how to secure your WordPress login. If the log shows signs of a break-in, the step-by-step malware clean-up guide explains what a proper clean-up involves.
Why it helps with teamwork
Many business sites are edited by several people: the owner, a marketing executive, an agency and a developer. When something changes unexpectedly, a log replaces guesswork and blame with facts: who changed a price or phone number, which update happened just before a layout broke, and what an agency actually worked on.
Logs only work when everyone has their own login. With a shared account, every entry just says "admin"; see WordPress user roles explained for giving each person the right access, and how to audit your WordPress user accounts to clear out old logins.
Activity log plugins
Well-known options include the following. Features and free versus paid limits change, so check each plugin's current listing before choosing:
- WP Activity Log: detailed coverage of WordPress events, with support for WooCommerce and some other popular plugins; paid plans add features such as notifications, reports and external log storage
- Simple History: a clear, readable history in the dashboard, with optional paid add-ons
- Stream: a free activity log with alerts for selected events
- Security plugins: some include login records or a basic change log, which may be enough for a small site
Whichever you choose, look for coverage of the areas you care about, email alerts for critical events, retention settings, search and filters, and export or off-site storage, because an attacker with admin access may be able to delete logs kept on the site. Stick to one logging plugin; two doing the same job doubles the load on your database.
What to review, and how often
- Straight away, via alerts: new administrator accounts, anyone promoted to administrator, plugins installed, and files edited from the dashboard
- Weekly: spikes in failed logins, and logins by unexpected users or from unexpected places
- Monthly: plugin, theme and settings changes, plus accounts that haven't been used and can be removed
Retention and privacy
Activity logs contain personal data: usernames, email addresses, IP addresses and, on stores, sometimes customer and order details. Treat them with care:
- Set a retention period long enough to investigate problems you might discover weeks later, and let the plugin delete older entries automatically. Unlimited retention also bloats the database; see WordPress database optimisation
- Export what matters: before old entries are deleted, keep a copy of anything tied to a security incident
- Limit access to the administrators who actually need it
- Don't log more than you need, and mention it in your privacy policy if you log customers or other users, not only staff
India's DPDP Act sets general expectations around the purpose, security and retention of personal data, and its rules are being phased in. Separately, CERT-In directions issued in 2022 include log-keeping requirements for many organisations. Whether and how these apply depends on your business, so see the DPDP Act and your website and confirm the specifics with your lawyer or adviser.
To get the earlier text of a page back, you need revisions or a backup. If revisions have vanished, see WordPress revisions not showing.
What activity logs can't do
A WordPress activity log records what happens inside WordPress. It won't catch files changed over FTP or a compromised hosting account; your host's logs cover some of that. It also doesn't block attacks on its own. Treat it as one layer alongside prompt updates, strong logins, a firewall and tested backups.
Setting up a WordPress activity log for a team in India
Most Indian business sites are edited by more than one person: an owner, a marketing executive, an outside agency and sometimes a developer who visits once a quarter. That mix is exactly where a WordPress activity log earns its place. A simple setup that works for most small teams:
- Give every person their own login. A shared "admin" account makes any log useless, because every entry says the same name.
- Pick the lowest role that does the job. Editors for content staff, Shop Manager for WooCommerce order handling, Administrator only for the people who truly need it.
- Install one logging plugin and agree what it watches. Logins, failed logins, plugin and theme changes, user changes, settings and content edits are enough for most sites.
- Decide who reads it. A named person checks the log weekly, and immediately after anything odd, such as a page vanishing or an order status changing unexpectedly.
- Write down the retention period. Keep entries only as long as you need them, and mention logging in your privacy notice in general terms.
Quick check: is your log working?
- Log in, change a setting and check the change appears in the activity log with your username.
- Check the log is kept for long enough and is not filling the database.
- In WordPress, open Users > All Users and compare admins with the people listed in the log.
When to get help
Get help when the log shows logins you don't recognise, admin users nobody created, or plugin and file changes at odd hours. Treat those as a possible break-in: change passwords, remove unknown users and check the site before anything else. Also get help if the log table has grown large enough to slow the admin; a retention setting fixes that.
Want your site's security watched every month? Security scans, monitoring and updates are part of my WordPress maintenance plans, and if the log reveals a break-in, see WordPress malware removal. You can also send the details through the contact form.
FAQs
What is the best WordPress activity log plugin?
There is no single best one. Choose an actively maintained plugin with a good support record, check that it logs the events you care about, and confirm it lets you set retention and export entries. Test it on a staging copy first if the site is busy.
Can an activity log show who changed a WooCommerce order?
Many logging plugins can record order status changes and the user who made them, though coverage varies. Check the plugin's list of supported WooCommerce events before relying on it for order disputes.
Does WordPress have a change log built in?
Only partly. Revisions record changes to post and page content, but WordPress doesn't log logins, user changes, plugin updates or settings by default. You need an activity log plugin for that.
Where are WordPress logs stored?
Activity logs are usually stored in the WordPress database by the plugin. The debug log is written to wp-content/debug.log when enabled, and server access and error logs are in your hosting panel.
Can I see who deleted a page in WordPress?
Only if an activity log was running at the time. Without one, check the trash, the page's revisions and, if needed, ask your host whether their logs show the request.
Do activity logs slow down WordPress?
Recording admin events adds very little load. Problems come from logging every visitor action or keeping entries forever, so limit what you log and set a retention period.
Need help with your website?
I'm a freelance WordPress developer building fast, SEO-friendly websites since 2020. Tell me what you need and I'll reply with a plan and a fixed quote, usually within 24 hours.


