Merge pull request #793 from nextcloud/stable9-backport-786

[stable9] log class name, ID only is hard to debug
This commit is contained in:
Björn Schießle 2016-08-09 19:33:49 +02:00 committed by GitHub
commit 9dca963283
1 changed files with 2 additions and 2 deletions

View File

@ -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;