summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-08-09 12:26:32 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-08-09 14:21:50 +0200
commitac5788927a99494d95d86f59832ab49119b53844 (patch)
tree83395b27205a641857d6e28865a74ee0bc57dec7 /cron.php
parent5253af56649c0e5dd251908859eb9365666d93fd (diff)
downloadnextcloud-server-ac5788927a99494d95d86f59832ab49119b53844.tar.gz
nextcloud-server-ac5788927a99494d95d86f59832ab49119b53844.zip
log class name, ID only is hard to debug
Diffstat (limited to 'cron.php')
-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;