pippinsplugins/WP-Logging — pull request #8 by curtismchale (2014-03-13 15:41:46+00:00)
Title: Add pruning to WP_Logging

WP_Logging would now provide a hook to hit with wp-cron so that you could prune old logs.

By default you'd need to set up the cron job and specifically filter the `$should_we_prune` variable (making it true) to make the prune process run.

The default settings are to prune all logs that are 2 weeks old or older and force delete them so that they bypass the WordPress trash.