Skip to content

Commit e7e81e9

Browse files
authored
Merge pull request #795 from nextcloud/stable10-backport-786
[stable10] log class name, ID only is hard to debug
2 parents 044f273 + 9b760aa commit e7e81e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cron.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@
117117
break;
118118
}
119119

120-
$logger->debug('Run job with ID ' . $job->getId(), ['app' => 'cron']);
120+
$logger->debug('Run ' . get_class($job) . ' job with ID ' . $job->getId(), ['app' => 'cron']);
121121
$job->execute($jobList, $logger);
122-
$logger->debug('Finished job with ID ' . $job->getId(), ['app' => 'cron']);
122+
$logger->debug('Finished ' . get_class($job) . ' job with ID ' . $job->getId(), ['app' => 'cron']);
123123

124124
$jobList->setLastJob($job);
125125
$executedJobs[$job->getId()] = true;

0 commit comments

Comments
 (0)