MyBB Community Forums

Full Version: Prune Warning Logs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

Is there a way to prune warning logs other than running a query in phpmyadmin?

Thanks!
You can setup a task in the Task Manager to do this for you every so often.

If you take a look at the existing tasks that run (found in ./inc/tasks/) you'll see how to build one.

Simply find a task that does something similar and change the queries Toungue
It already prunes Warning Logs I believe. Look at the settings in inc/config.php for pruning.
(2008-10-30, 04:45 PM)Ryan Gordon Wrote: [ -> ]It already prunes Warning Logs I believe. Look at the settings in inc/config.php for pruning.

Warning logs aren't included in the array... and there are no default tasks running to prune warning logs... Undecided