ℹ️ How to purge the Activity Log Pro’s Settings or Log Data

Activity Log Pro stores its data in your WordPress database by default. The plugin provides built-in tools to help you manage this data, whether you want to clear all logs temporarily or remove all plugin data permanently upon uninstall.

Your Activity Log Pro data persists by default

By design, Activity Log Pro preserves all your activity logs and configuration settings when the plugin is deactivated or removed from your WordPress installation. This protective approach ensures that valuable historical data and your carefully configured settings remain intact, even during plugin updates or temporary deactivations.

Should you choose to reinstall Activity Log Pro at any point – whether it’s the same version or an updated release – you’ll find all your previous activity data and it’s settings exactly as you left them. This continuity feature prevents accidental data loss and eliminates the need to reconfigure the plugin from scratch.

Important: If you prefer to have all Activity Log Pro data completely removed when uninstalling the plugin, you can modify this behaviour by enabling the Remove all plugin data on uninstall setting found in the Maintenance section of the plugin’s settings page.
The tool contains the uninstall hook that completely removes all plugin data from your database when uninstalled.
This ensures your website remains optimised and clutter-free, eliminating unnecessary database entries that could impact performance over time. Yes, we are meticulous about this stuff, and you should too 🙂

How do I reset Activity Log Pro data for a fresh start?

When you need to begin with a clean slate, Activity Log Pro includes dedicated data management features that give you full control over your logged information. To access these tools, go to Activity Log Pro > Settings and locate the Maintenance section, where you’ll find two essential data management functions:

Clear Logs

The Clear Logs option allows you to permanently delete all activity log data while keeping your plugin settings intact.

This is useful when you want to:

  • – Start with a fresh activity log
  • – Free up database space
  • – Remove old log entries for compliance purposes
  • – Clean up after testing or development

How to clear all logs:

  1. 1. Navigate to Activity Log Pro > Settings
  2. 2. Scroll down to the Maintenance section
  3. 3. Find the Clear Logs setting
  4. 4. Click the Clear All Logs button
  5. 5. Confirm the action when prompted

Warning: This operation permanently deletes ALL historical activity log data and cannot be undone. Consider exporting your logs before proceeding if you need this data for compliance or security purposes.

Uninstall Clean-up

The Uninstall Clean-up option controls what happens to your Activity Log Pro data when you uninstall the plugin. By default, all data is preserved to prevent accidental data loss i.e. the option is disabled by default.

How to enable data removal on uninstall:

  1. 1. Navigate to Activity Log Pro > Settings
  2. 2. Scroll down to the Maintenance section
  3. 3. Find the Uninstall Clean-up setting
  4. 4. Check the box for Remove all plugin data on uninstall
  5. 5. Click Save Settings

When this option is enabled, uninstalling the plugin will:

  • – Completely drop the activity logs database table
  • – Remove all plugin-specific options from the WordPress options table
  • – Delete all plugin-related transients and cached data
  • – Clean up scheduled tasks and cron jobs

This ensures your WordPress database remains optimized and clutter-free, eliminating unnecessary database entries that could impact performance over time.

What data gets removed with each option?

Clear Logs removes:

  • – All activity log entries from the database
  • – Related cached data and statistics
  • – Log-based analytics and charts data

Clear Logs preserves:

  • – All plugin settings and configurations
  • – User preferences and customizations
  • – Feed tokens and notification settings

Uninstall Clean-up removes (when enabled):

  • – The complete activity logs database table (wp_activity_log_pro_all_logs)
  • – All plugin options including:
  • – Retention period settings
  • – Event tracking preferences
  • – Feed configurations
  • – Login notification settings
  • – Premium license information
  • – All user customizations

Important considerations before purging data

Before clearing logs:

  • – Export important data if you need logs for compliance, security analysis, or record-keeping
  • – Review retention policies to ensure you’re not deleting data required by your organization
  • – Consider your backup strategy as the only way to recover deleted logs is from a database backup

Before enabling uninstall clean-up:

  • – Understand the permanence – this setting cannot be reversed once the plugin is uninstalled
  • – Document your settings if you plan to reinstall the plugin later
  • – Export any valuable configurations you might want to restore

Database performance benefits:

  • – Regular log cleanup helps maintain optimal database performance
  • – Large activity log tables can slow down WordPress queries
  • – Removing unused plugin data keeps your database lean and efficient

Security and compliance notes

Activity Log Pro’s maintenance features are designed with security in mind:

  • – Only WordPress administrators can access these maintenance functions
  • – All deletion operations include confirmation prompts to prevent accidental data loss
  • – The plugin automatically clears relevant caches when data is deleted
  • – Uninstall clean-up ensures no sensitive data remains in your database

Troubleshooting

If you encounter issues with the maintenance functions:

  1. 1. Ensure administrator privileges – Only users with administrator capability can use these features
  2. 2. Check for plugin conflicts – Temporarily disable other plugins if operations fail
  3. 3. Verify database connectivity – Ensure your WordPress database connection is stable
  4. 4. Review server resources – Large datasets may require adequate server memory and execution time

For additional assistance with data management, refer to the related documentation on log retention settings and export functionality.


Need Help? If you experience issues with Data Purging or have questions about data management, please contact our support team with details about your specific situation.