Watchdog for 'Finished processing scheduled jobs' should have WATCHDOG_INFO status

Created on 14 February 2018, almost 7 years ago
Updated 18 October 2023, about 1 year ago

I'm proposing changing the status to WATCHDOG_INFO for this code:

    watchdog('job_scheduler', 'Finished processing scheduled jobs (!time, !total total, !failed failed).', array(
      '!time' => format_interval(time() - $start),
      '!total' => $total,
      '!failed' => $failed,
    ));

And while were at it use escaped values instead of raw for extra safety and should effect the result.

Feature request
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

🇨🇦Canada joelpittet Vancouver

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada joelpittet Vancouver

    A notice is something I might email to myself to fix. Info I would not.

    /**
     * Log message severity -- Normal but significant conditions.
     */
    define('WATCHDOG_NOTICE', 5);
    
    /**
     * Log message severity -- Informational messages.
     */
    define('WATCHDOG_INFO', 6);
Production build 0.71.5 2024