Log Broom
Safely clean up log tables and clutter that plugins leave behind in your WordPress database, after you confirm a backup.
Solid choice
Log Broom is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 day ago, and scores 64/100 on our health check.
- Actively developed β last update 1 day ago
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Log Broom stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cleanup | >100 |
| database | >100 |
| logs | >100 |
| revisions | >100 |
| transients | >100 |
About Log Broom
From the official readme Β· v1.0.2Description
Many plugins keep logs, history and cached data in your database. Log Broom lists what is there, shows how many entries each source holds, and lets you remove the log entries you no longer need. It only deletes log, history and cache entries. It never deletes your published posts, pages or settings.
Every deletion, whether you run it manually or turn on automatic cleaning, requires you to confirm that you have a database backup. Nothing is turned on by default.
Find it under Tools > Log Broom.
Supported data sources and what is kept
Sources from other plugins appear only when that plugin’s tables exist on your site.
- Post revisions: deletes old saved versions (revisions) of posts, pages, products and other content, including revisions from page builders such as Elementor. Posts, pages, autosaves and the Site Editor’s history (styles, templates, navigation, patterns, custom CSS) are kept.
- Expired transients: deletes temporary cached values that have already expired. Unexpired transients are kept.
- WooCommerce database log: deletes log entries stored in its database table. Orders, products and settings are kept.
- Redirection: deletes the redirect hit log and the 404 error log. Your redirects are kept.
- Rank Math 404 monitor: deletes the recorded 404 errors. Your redirections and SEO settings are kept.
- WP Mail SMTP debug events: deletes the recorded debug events. Mailer settings and queued emails are kept.
- WP Activity Log: deletes the recorded events and their details. Activity log settings are kept.
- Wordfence: deletes live traffic older than 24 hours, failed login attempts and the scan activity log. Wordfence settings, blocked IPs, 2FA, successful logins (Wordfence uses them to recognise trusted IPs), the last 24 hours of traffic, scan results and scan working data are kept.
- Action Scheduler (used by WooCommerce and other plugins): deletes completed and canceled actions, failed actions older than 7 days, and their log entries. Pending and in-progress tasks and failed tasks from the last 7 days are kept.
- Solid Security: deletes the whole event log, attempt counters older than one day, and lockouts that expired longer ago than the ban period (“Days to Remember Lockouts”) plus one day (8 days by default). Attempt counters and lockouts follow the same retention as Solid Security’s own cleanup. Active lockouts, recent lockouts used for repeat-offender bans, attempt counters from the last day and bans are kept. Because the whole event log is deleted, this also clears Solid Security’s unread security alerts and its last site-scan result.
Plugin names are used only to describe what each source cleans. This plugin is not affiliated with or endorsed by them.
Features
- Shows the entry count and, where the database can report it, the size of each source.
- Cleans in small batches, with a progress display.
- Optional automatic cleaning on a schedule you choose, which also requires the backup confirmation.
- Works in the admin only. Nothing is added to the front end of your site.
Results depend on how much data your site has accumulated. Removing old log entries may reduce the size of your database.
Installation
- Upload the
log-broomfolder to/wp-content/plugins/, or install the plugin from the Plugins screen. - Activate the plugin through the Plugins screen.
- Open Tools > Log Broom.
- Back up your database, tick the confirmation in the dialog, and clean the sources you choose.
Changelog
Automatic cleaning keeps cleaning the other sources when one hits a database error and retries it with growing wait times. Also more accurate size figures after cleaning.
1.0.2
- Automatic cleaning retries database errors with growing wait times and keeps cleaning the other sources.
- More accurate size figures after cleaning; clearer message when Optimize is off.
- Fixed a progress number that could be out of date for one batch.
- Safer Optimize: limits for large and shared tables, and a once-per-10-minutes guard.
1.0.1
- Safer Solid Security cleaning: keeps the data Solid Security uses for repeat-offender bans and attempt limits (recent lockouts and the last day of attempt counters). Thanks to Yossi Gueta.
- Safer Wordfence cleaning: keeps successful logins, scan results and scan working data, and the last 24 hours of traffic. Thanks to Yossi Gueta.
- Fix: automatic cleaning no longer forgets sources whose plugin is temporarily inactive when you save settings.
- Fix: saving settings no longer postpones the next automatic cleaning.
- Fix: post revisions that another plugin protects no longer block cleaning of the rest. Thanks to Yossi Gueta for reporting and fixing these.
- Fix: post revisions keep the Site Editor’s history (styles, templates, template parts, navigation, synced patterns and custom CSS); revisions of other content, including products, are still cleaned. Thanks to Yossi Gueta.
- Fix: a database error during cleaning (for example a lock wait timeout) is now reported instead of counted as a finished run. Automatic cleaning retries 5 minutes later and the admin page shows the error. Thanks to Yossi Gueta.
- Fix: “Optimize tables” now rebuilds only the tables entries were removed from. Thanks to Yossi Gueta.
- Fix: on multisite, network-wide logs are cleaned only from the main site of the main network, and only network administrators can optimize the network options table. Thanks to Yossi Gueta.
- Fix: Action Scheduler failed tasks from the last 7 days are kept, so Action Scheduler can still stop frequently recurring tasks that keep failing.
- New: Details notes about each plugin’s own cleanup, a note that cleaning Solid Security also clears its unread alerts and last site-scan result, and a confirmation line when security or activity history is selected.
- Fix: “Last run” now counts every part of a long automatic cleaning run.
- Fix: an expired login session during cleaning now asks you to reload the page; the fixed batch size is saved only when you finish typing, and choosing Automatic right after typing works; the summary wording, focus after cancelling, and the page without JavaScript are corrected.
- Much faster on sites with millions of WooCommerce scheduled tasks: the page opens instantly and cleaning is faster.
1.0.0
- Initial release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best Log Broom alternatives
All cleanup plugins βFAQ
Log Broom: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Log Broom free?
Yes. Log Broom is free to download and use from the official WordPress.org plugin directory.
Is Log Broom safe to use in 2026?
Log Broom is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 day ago, and scores 64/100 on our health check.
How many websites use Log Broom?
Log Broom is active on <10 WordPress websites and has been downloaded 43 times since it launched in December 2026. It was downloaded 53 times in the last 30 days.
Does Log Broom work with WordPress 7.1?
Yes. The developer has tested Log Broom up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Log Broom need?
Log Broom requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Log Broom last updated?
The latest version, 1.0.2, was released on December 3, 2026 (1 day ago).
Who makes Log Broom?
Log Broom is developed and maintained by MyHost.
What are the best alternatives to Log Broom?
The most popular alternatives to Log Broom are WP-Sweep (100K+ installs), Simple Revisions Delete (10K+ installs) and Delete Duplicate Posts (10K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card




