Skip to content

Commit 090c783

Browse files
authored
Merge pull request #168 from Flowpack/task-lower-log-level-fulltext
TASK: Lower log level on full text node update
2 parents 5911c3f + 7d7bfb9 commit 090c783

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Indexer

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Indexer/NodeIndexer.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null)
293293
* @param string $targetWorkspaceName
294294
* @return string
295295
*/
296-
protected function calculateDocumentIdentifier(NodeInterface $node, $targetWorkspaceName = null) {
296+
protected function calculateDocumentIdentifier(NodeInterface $node, $targetWorkspaceName = null)
297+
{
297298
$contextPath = $node->getContextPath();
298299

299300
if ($targetWorkspaceName !== null) {
@@ -393,7 +394,7 @@ protected function updateFulltext(NodeInterface $node, array $fulltextIndexOfNod
393394
]
394395
];
395396

396-
$this->logger->log(sprintf('NodeIndexer (%s): Updated fulltext index for %s (%s)', $closestFulltextNodeDocumentIdentifier, $closestFulltextNodeContextPath, $closestFulltextNode->getIdentifier()), LOG_WARNING, null, 'ElasticSearch (CR)');
397+
$this->logger->log(sprintf('NodeIndexer (%s): Updated fulltext index for %s (%s)', $closestFulltextNodeDocumentIdentifier, $closestFulltextNodeContextPath, $closestFulltextNode->getIdentifier()), LOG_DEBUG, null, 'ElasticSearch (CR)');
397398
}
398399

399400
/**

0 commit comments

Comments
 (0)