Plugin info

Total downloads: 909
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 7/20/2022 (1260 days ago)
Added to WordPress: 5/11/2021 (4 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 6.0.11
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1260 days ago

20/100

Is LH Clear Debug Log by Cron abandoned?

Possibly abandoned (last update 1260 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: 6.0.11
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Cleanup Action Scheduler
Rating 3.2/5 (6 reviews)Active installs 2,000
Crony Cronjob Manager
Rating 4.3/5 (6 reviews)Active installs 1,000
WP Cron Cleaner
Rating 3.4/5 (12 reviews)Active installs 600
Easycron
Rating 5.0/5 (2 reviews)Active installs 200
WPX Cron Manager Light
Rating 3.7/5 (3 reviews)Active installs 100
FastCron – Run WP Cron for free
Rating 5.0/5 (1 reviews)Active installs 100

Description

The best way of debugging in wordpress s to use the debug.log. But if you leave debug running for long periods that log can grow MASSIVELY. This can slow your site down.

This plugin uses the wordpress cron jobs to empty the debug log once it grows beyond a certain size.

NOTE this plugin relies on wordpress cron. If that is not working this plugin will not work. But then you will also have bigger problems!

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

Installation

Install using WordPress:

  1. Log in and go to Plugins and click on Add New.
  2. Search for LH Clear Debug Log by Cron and hit the Install Now link in the results. WordPress will install it.
  3. From the Plugin Management page in WordPress, activate the LH Clear Debug Log by Cron plugin.
  4. That is it

Frequently Asked Questions

What is the size threshold at which the logs are cleared?

By default the threshold is 4194304 bytes , which is the equivalent of 4 MB. This thrshold can be changed by using filters.

What is that filter?

The filter is lh_del_dlog_cron_size_threshold . The only argument is the size threshold at which the debug log is deleted.

How do I check if cron is working?

This plugin will help you check: https://wordpress.org/plugins/wp-cron-status-checker/

What if something does not work?

LH Clear Debug Log by Cron, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: https://wordpress.org/support/plugin/lh-clear-debug-log-by-cron/ . I look there regularly and resolve most queries.

What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.00 May 09, 2021
Initial release.

1.01 June 19, 2022
Minor improvements