diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-08-09 15:48:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-09 15:48:26 +0200 |
commit | c72a8a7eb3e79c3801b95a096b6767ab7a8d66cc (patch) | |
tree | b0101512c6709a5803d00dd8bb61c3671f71e21d | |
parent | ba15687cc93a89b11f9fec3173ae2eb1fc53f368 (diff) | |
parent | ac5788927a99494d95d86f59832ab49119b53844 (diff) | |
download | nextcloud-server-c72a8a7eb3e79c3801b95a096b6767ab7a8d66cc.tar.gz nextcloud-server-c72a8a7eb3e79c3801b95a096b6767ab7a8d66cc.zip |
Merge pull request #786 from nextcloud/fix-backgroundjob-logs
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; |