summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-08-09 15:48:26 +0200
committerGitHub <noreply@github.com>2016-08-09 15:48:26 +0200
commitc72a8a7eb3e79c3801b95a096b6767ab7a8d66cc (patch)
treeb0101512c6709a5803d00dd8bb61c3671f71e21d
parentba15687cc93a89b11f9fec3173ae2eb1fc53f368 (diff)
parentac5788927a99494d95d86f59832ab49119b53844 (diff)
downloadnextcloud-server-c72a8a7eb3e79c3801b95a096b6767ab7a8d66cc.tar.gz
nextcloud-server-c72a8a7eb3e79c3801b95a096b6767ab7a8d66cc.zip
Merge pull request #786 from nextcloud/fix-backgroundjob-logs
log class name, ID only is hard to debug
-rw-r--r--cron.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron.php b/cron.php
index 4248157b4c8..68f6a5552d8 100644
--- a/cron.php
+++ b/cron.php
@@ -117,9 +117,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;