=== WP Activity Log ===
Contributors: Melapress
Plugin URI: https://melapress.com/wordpress-activity-log/
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl.html
Tags: activity log, event log, user tracking, logger, history 
Requires at least: 5.5
Tested up to: 6.8.1
Stable tag: 5.4.2
Requires PHP: 7.4

The #1 user-rated activity log plugin for event logging, activity monitoring and change tracking.

== Description ==

### Monitor activity on your WordPress sites and get clear insights into what's happening with detailed user and event logging.

Keep [WordPress logs](https://melapress.com/wordpress-activity-log/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal) of everything that happens on your sites and multisite networks with WP Activity Log to:

* Track user logins and logouts to ensure service level agreements (SLAs) are consistently met
* Record failed login attempts to identify potential security breaches and enhance site security
* Monitor user activity and productivity to promote accountability
* Know what happened before an outage for easier troubleshooting 
* Know exactly what all your users are doing
* Ensure compliance with regulations and standards such as GDPR and PCI DSS
* Better manage & organize your site & users
* Easily detect suspicious activity on your WordPress site before it escalates into security issues

WP Activity Log is a complete logging solution, helping hundreds of thousands of administrators and security professionals track changes on their websites thanks to real-time user activity monitoring.

[youtube https://www.youtube.com/watch?v=pgFEMIvKFTA]
  
### WordPress changes and details WP Activity Log keeps track of
A website activity log is an important tool in improving troubleshooting, compliance, user management, and security.
Get WP Activity Log and keep track of events on your site. The log not only tells you that a post, a user profile, or an object was updated, it also lets you know exactly what changed, when, and includes a user log (by whom) so you always have the information you need.

Below is a summary of the changes that the plugin can keep a record of:

- **Post, page and custom post type changes** such as status, content changes, title, URL, custom field, and other metadata changes

- **Tags and category changes** such as creating, modifying or deleting them, and adding or removing them from posts

- **Widget and menu changes** such as creating, modifying, or deleting them

- **User changes** such as user created or registered, deleted, or added to a site on multisite network

- **User profile changes** such as password, email, display name, and role changes

- **Access logging** such as user login, logout, failed logins, and terminating other sessions

- **WordPress core and settings changes** such as installed updates, permalinks, default role, URL, and other site-wide changes

- **WordPress multisite network changes** such as adding, deleting or archiving sites, adding or removing users from sites, etc.

- **Plugin and Theme changes** such as installing, activating, deactivating, uninstalling, and updating

- **WordPress database changes** such as when a plugin adds or removes a table

- Changes to **WooCommerce Stores & products**, **Yoast SEO**, **WPForms**, **Gravity Forms**, **Advanced Custom Fields (ACF)**, **MainWP** and other popular WordPress plugins.

- <strong> WordPress site file changes </strong> such as new files are added, or existing ones are modified or deleted.

Detailed event logging ensures that for every event that the plugin records, it reports the:

* Date & time (and milliseconds) of when it happened
* User & role of the user who did the change
* Source IP address from where the change happened
* The object on which the change has taken place

Refer to [WordPress activity log event IDs](https://melapress.com/support/kb/wp-activity-log-list-event-ids/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal) for a complete list of all the changes WP Activity Log can keep a record of and a detailed explanation of what change every event ID represents.

### Upgrade to WP Activity Log Premium and get even more

The premium edition of WP Activity Log takes WordPress user activity tracking to the next level. It comes bundled with even more features to take your WordPress website administration and security to the next level.

### Premium features list

- See who is logged in and their current activities in real-time
- Log off any user at the click of a button
- Generate fully-configurable HTML and CSV reports
- Get email, SMS and Slack notifications with important changes (fully configurable)
- Search filters to fine tune the search results and find what you need in seconds
- Store activity log in an external database to improve security and scalability
- Mirror the activity log to logs management systems such as AWS CloudWatch, Loggly, and Papertrail in real-time
- Easily mirror the logs in real-time to business communication systems such as Slack
- Send a copy of your websites' activity log to a log file on your web server in real-time
- Archive old activity log data to another database for better storage and log management

Refer to the [WP Activity Log plugin features and benefits page](https://melapress.com/wordpress-activity-log/features/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal) to learn more about the benefits of upgrading to WP Activity Log Premium.

#### WP Activity Log third-party plugin support

All WP Activity Log editions include activity tracking for third-party plugins, including:

- <strong>WooCommerce</strong>: Keep a log of changes to the WooCommerce store settings, orders, products, coupons, and much more
- <strong>Yoast SEO</strong>: Keep a log of changes to Yoast SEO settings, on-page SEO in the Yoast SEO meta box, and much more
- <strong>WPForms</strong>: Keep a log of changes to WPForms settings, forms, form files, entries (leads) and more
- <strong>Gravity Forms</strong>: Keep a log of changes to Gravity Forms settings, forms, forms settings, entries (leads), and more
- <strong>MemberPress</strong>: Keep a log of changes to your MemberPress powered website, including plugin settings changes, memberships, payments, subscriptions and other changes that your team does on your website
- <strong>bbPress</strong>: Keep a log of changes to bbPress forums, topics, bbPress settings and more
- <strong>MainWP</strong>: Keep a log of MainWP network changes and see the activity logs of all child sites from one central location - the MainWP dashboard
- <strong>Advanced Custom Fields</strong>: Keep a log of changes to post types, taxonomies, and taxonomy terms
- <strong>Redirection</strong>: Keep a log of changes to redirections and redirection groups

#### Other Noteworthy Features
Both free and premium editions of WP Activity Log include a number of non-logging specific features that make the plugin a complete WordPress logging solution. Here is what is included:

##### Free
- Built-in support for reverse proxies and web application firewalls
- Integration with WhatIsMyIpAddress.com allow you to get all information about an IP address with just a mouse click.
- Limit who can view the WordPress activity log by users or roles
- Settings to enable/disable individual event IDs from the activity log
- Configurable dashboard widget highlighting the most recent critical activity
- Configurable WordPress activity log retention policies
- User avatar is displayed in the events for better recognizability
- And much more!
##### Premium
Everything that's included in the Free edition, plus:

- Full WordPress multisite support
- Easily create your custom alerts & notifications to monitor additional functionality
- Import/export plugin settings
- Real-time activity log in WordPress admin toolbar
- And much more!
    
## Free and premium plugin support

 If you encounter any issues with the free edition of WP Activity Log, you can post and get help on the [WordPress.org support forums](https://wordpress.org/support/plugin/wp-security-audit-log/). You can also find more technical information and plugin documentation on the [Melapress knowledge base](https://melapress.com/support/kb/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal).

Premium plugins include a full year of free updates and dedicated one-to-one premium email support. This means you get direct access to our support team who will assist you with any questions or issues related to the plugins.

### As featured on:

- [Kinsta](https://kinsta.com/blog/wordpress-activity-log/)
- [Pagely](https://pagely.com/blog/2015/01/log-wordpress-dashboard-activity-improved-security-auditing/)
- [Shout Me Loud](https://www.shoutmeloud.com/wordpress-security-audit-log.html)
- [The Dev Couple](https://thedevcouple.com/wp-security-audit-log-review/)
- [WPKube](http://www.wpkube.com/improve-wordpress-security-wp-security-audit-log/)
- [Techwibe](https://www.techwibe.com/wp-security-audit-log-wordpress-plugin/)
- [Tidy Repo](https://tidyrepo.com/wp-security-audit-log-wordpress-activity-log/)
- [KitPloit](http://www.kitploit.com/2016/10/wp-security-audit-log-ultimate.html)
- and many others.

#### MAINTAINED & SUPPORTED BY MELAPRESS

Melapress develops high-quality WordPress management and security plugins such as Melapress Login Security, WP 2F, and Melapress Role Editor.

Browse our list of [WordPress security and administration plugins](https://melapress.com/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal) to see how our plugins can help you better manage and improve the security and administration of your WordPress websites and users.

== Installing WP Activity Log ==

=== Install WP Activity Log from within WordPress ===

1. Visit 'Plugins > Add New'
1. Search for 'WP Activity Log'
1. Install and activate the WP Activity Log plugin
1. Allow or skip diagnostic tracking

=== Install WP Activity Log manually ===

1. Extract the plugin ZIP file and upload it to the `/wp-content/plugins/` directory
1. Activate the WP Activity Log plugin from the 'Plugins' menu in WordPress
1. Allow or skip diagnostic tracking

== Frequently Asked Questions ==

= Does the free edition of WP Activity Log limit the data it collects? =
No, the free edition does not limit the data the plugin collects whatsoever. All events logged by the premium edition are available in the free edition. The premium edition adds additional features such as extensive log filtering options, external database/log management service integration, user session management, and much more.

= How long does WP Activity Log keep data for? =
Log data can be kept indefinitely in both free and premium editions. By default, the plugin retains all audit logging data for 3 months however this can be changed from the initial configuration wizards or the plugin's settings ([activity log retention policies](https://melapress.com/support/kb/wp-activity-log-retention-policies/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal)).

= Where does the plugin store the log? =
By default, the log is stored in the WordPress database. WP Activity Log Enterprise edition includes an option to save the activity log to an external database and log mirroring to AWS Cloudwatch, Loggly, Papertrail, Syslog, & other SIEMs

= Can the log be exported? =
Yes, the [log can easily be exported as either CSV or HTML](https://melapress.com/support/kb/wp-activity-log-data-export/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal). The reports module in the Premium plugin is required for this functionality. 

= How does WP Activity Log Improve Security? =
WP Activity Log keeps a record of security-related user and system activities, including logins, logouts, failed login attempts, changes to settings and configurations, and post edits among other things. This security log can not only uncover suspicious or untowards behaviour, but also aid in forensics and post-mortems for quicker recoveries.

= Who can view the activity log? =
By default, all users with administrator role can view the activity log. However, you can restrict this to a specific administrator or ccess can be given to other users through the plugin's settings. Refer to the [WordPress activity log privileges](https://melapress.com/support/kb/wp-activity-log-managing-plugin-privileges/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal) for more information on how you can do this.

= Does the plugin send any log data to Melapress? =
No, the plugin does not send any log data to us whatsoever. The only data we recieve is license data from the premium edition of the plugin.

= Does the plugin receive updates? =
We update the plugin fairly regularly to ensure the plugin continues to run in tip-top shape while adding new features from time to time.

= Will WP Activity Log slow down my website? =
[WP Activity Log will not slow down your website](https://melapress.com/support/kb/wp-activity-log-slow-down-website/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal). Each release is tested before release to ensure it works in the best way possible. Having said that, you need to make sure your WordPress web server has adequate resources to manage the load of your website.

= How do I get support? =
Support for the Free edition of the plugin is provided only via the WordPress.org support forums. You can also refer to our [support pages](https://melapress.com/support/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal) for all the technical and product documentation.

If you are using the Premium edition, you get direct access to our support team via one-to-one [email support](https://melapress.com/support/submit-ticket/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal).

= How can I report security bugs? =
You can report security bugs through the Patchstack Vulnerability Disclosure Program. Please use this [form](https://patchstack.com/database/vdp/wp-security-audit-log). For more details please refer to our [Melapress plugins security program](https://melapress.com/plugins-security-program/).

== Screenshots ==

1. The WordPress activity logs from where the site administrator can see all the user and site changes.
2. See who is logged in to your WordPress and manage users sessions with Users Sessions Management in the Premium edition.
3. The plugin settings from where site administrator can configure generic plugin settings such as [reverse proxy support](https://melapress.com/support/kb/wp-activity-log-support-reverse-proxies-web-application-firewalls/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal), who can manage the plugin etc.
4. Use the event Inspector to see more technical details about each event in the activity log, such as the session ID and UserAgent string.
5. Configuring WordPress email and instant SMS or Slack alerts with the Email, SMS & Slack Notifications module in the Premium edition.
6. Search in the WordPress activity log with the use filters to fine tune the search results.
7. The Enable/Disable events section from where Administrators can disable or enable activity log events.
8. The Activity Log Viewer of a Super Admin in a WordPress multisite network installation alllows the admin to view the logs from all the network, or filter the logs of a specific site.
9. WP Activity Log is integrated with the built-in revision system of WordPress, thus allowing you to see what content changes users make on your WordPress posts, pages and custom post types. For more information read [Keep Record of All WordPress Content Changes](https://melapress.com/support/kb/wp-activity-log-how-keep-record-of-content-changes/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal)
10. Mirror the WordPress activity log to an external solution such as Syslog or Papertrail to centralize logging in the Premium edition, to ensure logs are always available and cannot be tampered with in the unfortunate case of a hack attack.
11. Use the plugin settings to exclude objects from the logs, configure automatic pruning of events, which timestamp to be shonw in the logs and much more. The plugin is fully confirable.
12. Generate any type of statistics reports from the actiivty log with the Premium edition. You can see statistics such as number of newly registered users, number of user profile changes, number of logins, different IP addresses per user, and much more.
13. Use the Premium edition to also export any activity log data to an HTML report or CSV file. CSV files are the most widely supported format and can easily be read, parsed and imported in third party systems.

== Changelog ==

= 5.4.2 (2025-07-02) =

* **New activity log event ID**
	 * ID 1011- user tried to access a page for which they did not have access to.

*  * **Plugin improvements**
	 * Added more help text and updated existing text and URLs across multiple plugin pages.
	 * Included a notice for the new users on fresh installations to better assist then in setting up the Notifications module.
	 * Remove the Admin bar notification setting preview (Premium feature) from the Free edition

* **Bug fixes**
	 * Resolved an issue in which the default **sender "From Email" address and name** were used instead of the user-configured ones in email notifications.
	 * Fixed several WP 2FA plugin related event IDs that were not triggering or lacked complete metadata. Event IDs 7804, 7805, 7806, 7607, 7808, 7811, and 7812 are now logged and reported correctly.
	 * Corrected a visual issue affecting the creation of Slack mirroring connections in the UI.
	 * Addressed an edge case where custom login URLs could prevent event ID 1000 (user logged in) from being recorded.
	 * Fixed a visual layout bug causing long event descriptions to overflow by adding horizontal scrolling.
	 * Fixed a bug affecting event ID 2101, where the URL metadata field might not open the relevant post URL.
	 * Resolved a few user-reported PHP errors that could appear when upgrading from older plugin versions.
	 * Resolved a user-reported PHP error which could occur in very specific circumstances when using WP Activity Log alongside the Advanced Custom Fields plugin.
	 * Fixed a user-reported JS error which could occur when saving the "Built-in notifications" after editing certain inputs with invalid data.

Refer to the complete [plugin changelog](https://melapress.com/support/kb/wp-activity-log-plugin-changelog/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=wsal) for more detailed information about what was new, improved and fixed in previous version updates of WP Activity Log.
