]> source.dussan.org Git - nextcloud-server.git/commitdiff
log class name, ID only is hard to debug 786/head
authorJörn Friedrich Dreyer <jfd@butonic.de>
Tue, 9 Aug 2016 10:26:32 +0000 (12:26 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 9 Aug 2016 12:21:50 +0000 (14:21 +0200)
cron.php

index 4248157b4c86b3860e5f82f7e168ff8ef0a670cb..68f6a5552d88bbfdef1a0758f06742363fbed41d 100644 (file)
--- 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;