From ac5788927a99494d95d86f59832ab49119b53844 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Tue, 9 Aug 2016 12:26:32 +0200 Subject: [PATCH] log class name, ID only is hard to debug --- cron.php | 4 ++-- 1 file 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; -- 2.39.5