Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-08-10 17:51:38 +0300
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-08-10 17:51:37 +0300
commit582a4bb33d415a28426ef17be26fbbc848f5ebb7 (patch)
tree919e2708a056016f10698a84681c29a5a0126429 /cron.php
parent1de06003c2b977afc9b0144d6f5a259f33751277 (diff)
log class name, ID only is hard to debug (#25744)
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 6825c10fb01..8041912998a 100644
--- a/cron.php
+++ b/cron.php
@@ -141,9 +141,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;