File tree Expand file tree Collapse file tree
Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22namespace Flowpack \ElasticSearch \ContentRepositoryQueueIndexer ;
33
44use Flowpack \ElasticSearch \ContentRepositoryAdaptor \Indexer \NodeIndexer ;
5- use Flowpack \ElasticSearch \ContentRepositoryAdaptor \LoggerInterface ;
65use TYPO3 \Flow \Annotations as Flow ;
6+ use TYPO3 \Flow \Log \SystemLoggerInterface ;
77use TYPO3 \Flow \Utility \Algorithms ;
88use TYPO3 \Jobqueue \Common \Job \JobInterface ;
99use TYPO3 \Jobqueue \Common \Queue \Message ;
@@ -44,7 +44,7 @@ class IndexingJob implements JobInterface {
4444 protected $ contextFactory ;
4545
4646 /**
47- * @var LoggerInterface
47+ * @var SystemLoggerInterface
4848 * @Flow\Inject
4949 */
5050 protected $ logger ;
@@ -102,6 +102,7 @@ public function execute(QueueInterface $queue, Message $message) {
102102 return TRUE ;
103103 }
104104 $ this ->nodeIndexer ->setIndexNamePostfix ($ this ->indexPostfix );
105+ $ this ->logger ->log (sprintf ('Process indexing job for %s ' , $ currentNode ));
105106 $ this ->nodeIndexer ->indexNode ($ currentNode );
106107 }
107108
You can’t perform that action at this time.
0 commit comments