civicrm_job_log
is the biggest table in my database by an order of magnitude. And civicrm_log
is the fifth biggest.
Can I trim these somehow, e.g. a cron job that removes old logs? It's making the backups slow.
EDIT: Here's an extension that keeps the job log from bloating
Thanks to the input here, I've created the Log Lop extension that allows users to configure a maximum age for keeping job logs. Will submit to the extensions directory after a bit more testing/few more eyes have looked at it.