Cleanup Tab (Pro Feature)

View Categories

The Cleanup tab provides tools to manage your log files and prevent them from growing too large.

Automatic Log File Management

Importance of Log Cleanup

  • Prevents log files from consuming excessive disk space
  • Helps maintain a manageable number of log entries

Disk Space Considerations

  • Large log files can impact server performance
  • Especially important on shared hosting environments

Cleanup Safety and Backups

Original logs are preserved before cleanup (the option available for Pro users)

Cleanup Configuration

Setting Maximum Log Size (MB)

  • Define the maximum allowed log file size
  • Recommended: 10MB or less for optimal performance

Cleanup Methods

Truncate (Keep Last X%)

  • Removes older entries while preserving recent logs
  • Configurable percentage to retain (e.g., keep last 20%)

Empty File Completely

  • Clears the entire log file
  • Useful for starting fresh after resolving issues

Archive with Backup (Pro)

  • Creates a backup before cleanup
  • Archived logs can be restored if needed

Choosing the Right Method

  • Truncate: Best for ongoing monitoring
  • Empty File: Useful after resolving all issues
  • Archive: Recommended before major site changes

Scheduled Cleanup

Available Cleanup Frequencies

  • Every 6 hours: Aggressive cleanup for high-traffic sites
  • Every 12 hours: Balanced approach for active sites
  • Twice Daily: Standard cleanup schedule
  • Once Daily: Suitable for most monitoring needs

Viewing Next Scheduled Cleanup Time

  • Displayed in the cleanup summary section
  • Helps plan for expected maintenance windows

WP-Cron Integration

  • Uses WordPress built-in cron system
  • No additional server cron jobs required

Manual Cleanup

Running Cleanup On Demand

  • Click the “Run Now” button to initiate immediate cleanup
  • Useful before troubleshooting or maintenance

Understanding Cleanup Results

  • View statistics after cleanup completion
  • See file size before and after
  • Percentage of space freed
  • Number of entries removed
  • New file size

Cleanup Notifications

  • Receive email alerts after cleanup tasks
  • Includes summary of actions performed

For advanced features, see the Advanced Features guide.