Log Sweep

Log Sweep

Developed By WEBDEV Heroes

Compatible with WHMCS v9.0

Log Sweep

Log Sweep is a WHMCS addon that removes old log records so your database stays smaller and your billing system stays faster.

WHMCS keeps writing to log tables over time. Without a retention policy, those tables grow, use more disk space, and can slow down the admin area. Log Sweep gives you one place to see how large each log is, choose how long to keep it, and delete older records automatically or by hand.

How it works

Open Addons → Log Sweep to see every supported log type, its current record count, and its table size.

For each log you can:

  • Set how many days of history to keep. The WHMCS daily cron then deletes older records for you.
  • Set days to 0 if you do not want automatic cleanup for that log.
  • Pick a date and delete matching records immediately, without waiting for cron. A confirmation prompt appears before anything is removed.

Cleanup actions are written to the WHMCS activity log so you can see what was pruned and when.

Supported logs

  • API Logs
  • Activity Log
  • Admin Logs
  • App Links Logs
  • Error Logs
  • Gateway Logs
  • Module Logs
  • Ticket Mail Logs

If a log table is not present in your WHMCS version, Log Sweep skips it automatically.

Features

  • Dashboard totals for log entries, database size, active auto-cleanup rules, and log types
  • Per-log retention (keep a different number of days for each log)
  • Automatic daily cleanup via the WHMCS Daily Cron
  • Manual purge by date, with confirmation before delete
  • Auto cleanup can be turned off per log by setting days to 0
  • Save all retention settings in one click
  • Optional tables are skipped if they do not exist
  • Admin-only tool — customers never see or access log cleanup

 

There are no reviews yet!

Be the first to review Log Sweep.

Version Compatibility


Compatible with WHMCS v9.0

Full Version Compatibility


  • All versions of WHMCS v9.0
  • All versions of WHMCS v8.13
  • All versions of WHMCS v8.12
  • All versions of WHMCS v8.11
  • Selected versions of WHMCS v8.10
        8.10.0
  • Selected versions of WHMCS v8.9
        8.9.0
  • Selected versions of WHMCS v8.8
        8.8.0
  • All versions of WHMCS v8.7
  • All versions of WHMCS v8.6
  • All versions of WHMCS v8.5
  • All versions of WHMCS v8.4
  • All versions of WHMCS v8.3
  • All versions of WHMCS v8.2
  • All versions of WHMCS v8.1
  • All versions of WHMCS v8.0
  • All versions of WHMCS v7.10
  • All versions of WHMCS v7.9
  • All versions of WHMCS v7.8
  • All versions of WHMCS v7.7
  • All versions of WHMCS v7.6
  • All versions of WHMCS v7.5
  • All versions of WHMCS v7.4
  • Selected versions of WHMCS v7.3
        7.3.0
  • All versions of WHMCS v7.2
  • All versions of WHMCS v7.1
  • All versions of WHMCS v7.0
  • All versions of WHMCS v6.3
  • All versions of WHMCS v6.1

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By WEBDEV Heroes

Changelog

vV1.0 Released September 4th, 2026

Latest Version


Initial Release

 

See also

tawk.to Live Chat

Free live chat App

Free
Live Chat & Visitor Tracking

Chat and Engage with Your Customers to Increase Conversions!

Commercial
LiveChat - live chat for WHMCS

Customer service platform with live chat and customer engagement capabilities

Free
PreMadeKB WHMCS Knowledgebase - Step by Step + Images

PreMadeKB - Readymade Knowlegebase Articles for WHMCS - With Images and 431+ Articles on cPanel, Plesk, DA, Softaculous, etc.

Commercial
Lara AI Assistant

Lara, AI Assistant .. OpenAI's ChatGPT for WHMCS Tickets

Commercial