log class name, ID only is hard to debug
This commit is contained in:
parent
b6072bb68c
commit
a86f2b3377
4
cron.php
4
cron.php
|
@ -142,9 +142,9 @@ try {
|
|||
break;
|
||||
}
|
||||
|
||||
$logger->debug('Run job with ID ' . $job->getId(), ['app' => 'cron']);
|
||||
$logger->debug('Run ' . get_class($job) . ' job with ID ' . $job->getId(), ['app' => 'cron']);
|
||||
$job->execute($jobList, $logger);
|
||||
$logger->debug('Finished job with ID ' . $job->getId(), ['app' => 'cron']);
|
||||
$logger->debug('Finished ' . get_class($job) . ' job with ID ' . $job->getId(), ['app' => 'cron']);
|
||||
|
||||
$jobList->setLastJob($job);
|
||||
$executedJobs[$job->getId()] = true;
|
||||
|
|
Loading…
Reference in New Issue