By Krythis on
Is there any way to disable the 'Cron run completed.' log entries? I searched the forums and found there was a solution for Drupal 4, but I don't see anything beyond that.
Is there any way to disable the 'Cron run completed.' log entries? I searched the forums and found there was a solution for Drupal 4, but I don't see anything beyond that.
Comments
I was looking at this
I was looking at this myself.
A quick fix for yourself would be to search the files for the string "Cron run completed" and comment out that line.
In drupal 6.x, it is in the file includes/common.inc on line 2651.
The line of code looks like:
watchdog('cron', 'Cron run completed.', array(), WATCHDOG_NOTICE);Heres my drupal-6.x patch:
I decided to do a quick look, the drupal 5 seems to be pretty easy to find and fix as well.
Heres a drupal-5.x patch
For me, the cron was flooding the logs because I have to do cron runs every single minute, which causes all useful logs to be hard to find and the log buffer to become full very quickly.
Worked great, thanks for the
Worked great, thanks for the followup!