Configuring Activity Log Settings
The Activity Log settings page lets you control how events are recorded, which events are logged, who gets email alerts, and how to manage your log data. To get there, go to Activity Log » Settings in your WordPress admin sidebar. You’ll find four tabs: General, Events, Notifications, and Tools.
General Tab
The General tab is where you control the core logging behavior, manage your license, and set display preferences.

License: At the top of the General tab, the License section handles your license key. If no key is saved yet, paste it into the Paste your license key here field and click Activate. Once a key is saved, the section shows it masked, with only its last four characters visible, next to its status: Active · renews or Active · expires with a date, Active · lifetime license, Not active, or Not active · no site activations left. For an active license that renews or expires, you’ll also see the days left. A Refresh license data link reloads the license information. To free the activation for this site, click Deactivate on this site. To use a different key, click Change key to clear the saved key, and then paste the new key and activate it. When the license isn’t active, an Activate button shows as well.
Record activity: Under the Logging heading, check Log events on this site to turn activity logging on. When you turn it off, no new events are recorded, and existing events stay until their retention ends.
Keep events for: Set how many days to keep log entries. The default is 90 days. A daily background task automatically deletes entries older than this value. Set to a higher number for longer audit trails, or lower to keep your database lean.
Events per page: Controls how many events appear per page in the log viewer. Default is 50. Accepts values from 10 to 100.
Saving events: This setting sits in the Advanced section, which stays collapsed unless one of its values isn’t the default. Choose between Right away (recommended) and In the background (queued). Right away writes each event to the database as it happens. In the background batches events in a queue and writes them every 15 minutes, which can make busy pages lighter. Queued events and their notification emails then arrive up to 15 minutes later.
Trusted proxies: This setting is also in the Advanced section. Fill it in only if your site is behind a reverse proxy, a CDN (content delivery network), or a load balancer. Enter one IP address or range per line. Until you add one, the log records the address WordPress sees.
Visitor IP header: This setting is also in the Advanced section. Choose the header your proxy uses to pass on the visitor’s IP address: X-Forwarded-For (most proxies), CF-Connecting-IP (Cloudflare), or X-Real-IP. The header is used only for requests from a trusted proxy listed above, so if your site is behind Cloudflare, choose CF-Connecting-IP (Cloudflare).
Events Tab
The Events tab, headed What to log, lets you choose which events are recorded. Events are organized as a tree: domain, then category, then subcategory, then event. Every group and every event has its own checkbox. Changes take effect immediately after you click Save Event Settings.

Turn off a group to log nothing in it, not even events added later. The choices inside it are kept for when you turn the group back on. To mute a single event, uncheck its checkbox. Each event row also shows its event code and severity.
Above the tree, three counters show how many event types are logging, how many are muted, and the total, shown as of N event types. Use the search box to find events by name, code, or category. Select Show muted only to list just the muted events, and use Expand all and Collapse all to open or close every group.
Events of supported plugins, such as WooCommerce or Yoast SEO, are logged only after you turn that plugin’s group on and the plugin is active on your site. Only WordPress core, Duplicator, and the Other group are on by default. Click the Supported plugins button to see every supported plugin and whether it’s On, Off, or Not active on your site. For the full list of events, see our guide on what the Activity Log tracks.
Notifications Tab
The Notifications tab lets you set up email alerts for specific events, so you’re notified the moment something important happens on your site.

Send emails: Under the Email notifications heading, check Email me when chosen events happen to turn email alerts on. It’s off by default. When disabled, no notification emails are sent regardless of other settings.
Send to: Enter the email addresses that receive alerts. You can enter multiple addresses, one per line or comma-separated. To add the site admin email, click the button that shows a plus sign and that address.
What to send: Pick which events send an email with one of 3 presets. Security essentials is marked Recommended and is the default. It covers new users, role, password, and email changes, new application passwords, and plugins and themes that are installed, activated, or deleted, and it leaves out failed logins. Everything high or critical sends an email for any event with High or Critical severity from every integration. Custom lets you choose events one by one. The event tree, with its search box and Expand all and Collapse all buttons, shows only when you choose Custom. Checking a group selects every event in it, and events added later aren’t selected until you select them. For example, to get an email for just Login Failed and User Role Changed, choose Custom and check those 2 events.
When you’re done, click Save notifications. Then, use the Send test email button next to it, or the Send Test Notification button on the Tools tab, to verify emails are delivering correctly. Both send the test to your saved recipients, so save at least 1 recipient first.
Tools Tab
The Tools tab provides four utility actions and a system information panel.

Send Test Event: Creates a test entry in your activity log to confirm that logging is working correctly.
Send Test Notification: Sends a test email to your configured recipients to verify notifications are set up and delivering.
Purge All Logs: Permanently deletes all log entries, then records one new event noting the purge. This is irreversible. Use this if you want to start fresh or clear out a large volume of old data.
Reset Settings to Defaults: Restores all General, Events, and Notification settings back to their original defaults. Existing log data is not affected.
System Information: Shows the current plugin version, WordPress version, and PHP version. Useful when contacting support.
That’s it! You can now set how long the Activity Log keeps its entries, choose which events it records, get email alerts for the events that matter to you, and use the Tools tab to test, clean up, or reset the plugin.
Would you like to manage the Activity Log from the command line? Check out our guide on running Activity Log commands with WP-CLI.