diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-08-09 12:26:32 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-08-09 14:21:50 +0200 |
commit | ac5788927a99494d95d86f59832ab49119b53844 (patch) | |
tree | 83395b27205a641857d6e28865a74ee0bc57dec7 | |
parent | 5253af56649c0e5dd251908859eb9365666d93fd (diff) | |
download | nextcloud-server-ac5788927a99494d95d86f59832ab49119b53844.tar.gz nextcloud-server-ac5788927a99494d95d86f59832ab49119b53844.zip |
log class name, ID only is hard to debug
-rw-r--r-- | cron.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |